Closed mngi-arogers closed 6 years ago
I'm unable to reproduce this with my BrowserStack account, could you provide a sample project that reproduces the issue?
I've attached a sample project: my-selenium-tests-issue-560.zip
Make sure to enter your BrowserStack credentials into the 'browserstack.url' field of the 'serenity.properties' file.
The project can be built and run with this command: mvn -Dit.test=mypackage.SerenityIssueTest clean verify
Not sure if it matters, but I'm running this on Ubuntu 16.04. Thanks for looking at this.
We see the same issue.
Interestingly adding "webdriver.driver=chrome" seems to resolve this (regardless which browser you use on Browserstack).
Adding "webdriver.driver=provided" also works - this seems to be the right setting.
Have you tried webdriver.driver=remote?
Yes - the same NPE as above but with: net.thucydides.core.webdriver.UnsupportedDriverException: Could not instantiate class org.openqa.selenium.remote.RemoteWebDriver
The problem seems to be in DriverCapabilities#driverCapabilitiesSelector - there is not "REMOTE" in the selectors
@derkoe Thanks for the tip! Adding webdriver.driver=provided
to my serenity.properties
file is working for me.
Hello,
Our
serenity-core
version 1.1.36 and BrowserStack integration has been working for several months now. However when I run a sample test after settingserenity-core
version to 1.1.38, 1.1.40, or 1.1.42 in mypom.xml
, I receive aFAILED TO CREATE NEW WEBDRIVER_DRIVER INSTANCE
error.I've looked at Serenity's BrowserStack documentation again (http://serenity-bdd.info/docs/serenity/#_running_tests_on_browserstack ), but I didn't see anything that points to the problem.
Any ideas? Thanks for the help ( and for building such a useful framework )!
serenity.properties
pom.xml