Home page

Tuesday, September 29, 2015

The method addArguments(String[]) in the type ChromeOptions is not applicable for the arguments (String)

Error: The method addArguments(String[]) in the type ChromeOptions is not applicable for the arguments (String)

Solution: 
1. Go to project > Properties > Java Compiler
2. Uncheck "Use compliance from execution environment ...." checkbox
3. Select 1.7 from dropdown "Compiler compliance level"
4. Click Apply button
5. Click Yes from "Compiler Settings Changed" popup
6. Click OK button

No comments:

Post a Comment