desiredcapabilities Questions

4

My application opens up a new window on clicking a button and i need to perform some actions in that window. But the response getWindowHandles() method of selenium webdriver has only one window id ...

2

I know that some selenium capabilities can be obtained with a method, one of them like this : driver.getCapabilities().getBrowserName(); It returns the value of the browser name. But if it refers t...
Oriental asked 5/8, 2019 at 6:1

1

Solved

I'm trying to automatically download a file with selenium. To do so I would like to set the default download directory and disable the download prompt. It doesn't seem to be working and the options...

6

I have two simple tests that are using RemoteWebDriver with ChromeOptions and EdgeOptions. Both these tests are using common code to set capabilities, including the browserstack.user and browsersta...

1

Solved

My project includes Selenium webdriver, JAVA, Maven, TestNG, Jenkins, Allure (reports). I have a few suites of tests with 100+ test cases, and I iterate them through 3 different browsers (the tests...

2

Solved

I use ChromeDriver 2.33 with WebDriver 3.6.0 and try to set default directory for file download. Map<String, Object> prefs = new HashMap<String, Object>(); prefs.put("download.default_...
1

© 2022 - 2024 — McMap. All rights reserved.