Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Commit

Permalink
Merge pull request #376 from 0I0u3uk/bugfix/fixed_selenoid_capabilities
Browse files Browse the repository at this point in the history
Fixed bug with selenoid capabilities
  • Loading branch information
kosteman authored Feb 15, 2022
2 parents b08abaf + 3c146b7 commit 5a05505
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class SelenoidCapabilitiesParser implements CapabilitiesParser {
private static final Configuration PROPERTIES = Configuration.create();
private static final String UNIQUE_NAME_FORMAT = new SimpleDateFormat("dd.MM.yyyy_hh:mm:ss").format(new Date()) + "_%s_" + UUID.randomUUID();

private final DesiredCapabilities capabilities = new DesiredCapabilities();
protected final DesiredCapabilities capabilities = new DesiredCapabilities();

@Override
public DesiredCapabilities parse() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ page.package=ru.sbtqa.tag.pagefactory.pages
screenshot.strategy=driver

webdriver.browser.name=Chrome
webdriver.version = 96.0.4664.45
webdriver.version = 98.0.4758.80
webdriver.starting.url=http://localhost:8181

# run chrome in headless mode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@

public class WebSelenoidCapabilitiesParser extends SelenoidCapabilitiesParser {

private final DesiredCapabilities capabilities = new DesiredCapabilities();

@Override
public DesiredCapabilities parse() {
super.parse();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public enum BrowserName {
IEXPLORE("iexplore"),
CHROME("chrome"),
FIREFOX("firefox"),
OPERA("firefox"),
OPERA("opera"),
SAFARI("safari"),
EDGE("edge");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ page.package = pagefactory.pages.webelements
screenshot.strategy = driver

webdriver.browser.name = Chrome
webdriver.version = 96.0.4664.45
webdriver.version = 98.0.4758.80
webdriver.starting.url = http://localhost:8181

# run chrome in headless mode
Expand Down

0 comments on commit 5a05505

Please sign in to comment.