Coder Social home page Coder Social logo

Comments (9)

wakaleo avatar wakaleo commented on August 20, 2024

Could you indicate all of the system properties you are providing, including in particular webdriver.driver, webdriver.remote.browser.version etc?

from serenity-core.

wakaleo avatar wakaleo commented on August 20, 2024

Also refer to the Serenity documentation on the topic: http://serenity-bdd.info/docs/serenity/#_running_remote_tests

from serenity-core.

koffskiy avatar koffskiy commented on August 20, 2024

I am using serenity 1.0.47 with parameters:
-Dproperties=serenity-grid.properties
-Dwebdriver.remote.driver=iexplorer
-Dwebdriver.remote.browser.version=11

in selenium-grid-properteis:

story.timeout.in.secs=3000
serenity.take.screenshots=FOR_FAILURES
thucydides.requirement.types=theme,epic
thucydides.report.show.manual.tests=false
thucydides.jira.workflow.active=false
thucydides.skip.jira.updates=true
jira.project=PROJECT
jira.url=https://project.jira.com
jira.username=jira_username
jira.password=password
thucydides.project.key=PROJECT_KEY
webdriver.remote.url=http://localhost:4444/wd/hub

from serenity-core.

koffskiy avatar koffskiy commented on August 20, 2024

I've debugged WebDriverFactory and found that it calls such methods with my configuration:

  1. buildRemoteCapabilities
  2. capabilitiesForDriver("iexplorer")
  3. realBrowserCapabilities(SupportedWebDriver.IEXPLORER)

and it doesn't call remoteCapabilities method in which WebDriverFactory reads WEBDRIVER_REMOTE_OS and WEBDRIVER_REMOTE_BROWSER_VERSION properties

from serenity-core.

wakaleo avatar wakaleo commented on August 20, 2024

Could you try running with -Dwebdriver.driver=remote in addition to the other variables. Also, where are you setting the remote OS and remote browser version?

from serenity-core.

eskape avatar eskape commented on August 20, 2024

I have the same issue. Adding -Dwebdriver.driver=remote does not work. driverTypeFor method in WebDriverFactory returns IEXPLORER.

from serenity-core.

YamStranger avatar YamStranger commented on August 20, 2024

@eskape Hello!

It seems that your pull request merged, and this issue is solved. Could you close this issue if so please.

Thanks

from serenity-core.

eskape avatar eskape commented on August 20, 2024

Hi YamStranger,

I'm glad it fixes the issue. I'm not able to close it.
@wakaleo Can you close it?

from serenity-core.

wakaleo avatar wakaleo commented on August 20, 2024

Done

from serenity-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.