Questions tagged [chrome-options]

144 questions
0
votes
1 answer

Automating PDF download with Python Selenium Chromedriver

I am using Chrome/Chromedriver version: 93.0.4577 and Selenium version: 3.141.0 on Win 10. I'm trying to get Selenium to download PDF's without opening the file prompt. I'm working with a work site unfortunately so I'm unable to share it but I've…
0
votes
1 answer

Can not set ChromeOptions capability

What maven dependency should I add in my pom.xml and what library should I import in order to set this ChromeOptions capability? opts.setCapability(CapabilityType.UNEXPECTED_ALERT_BEHAVIOUR, UnexpectedAlertBehaviour.IGNORE); Need to set it in order…
Prophet
  • 32,350
  • 22
  • 54
  • 79
0
votes
1 answer

How To Fix File Download Error For Your Location With ChromeOptions in C# with Selenium

Background - I'm trying to automate a website related to data restoring. So once the user logs in he/she can select the desired file/files and once the download button is enabled the user is able to download the file. Problem - I'm successfully…
0
votes
0 answers

How to solve random chromedriver 90 exceptions like DevToolsActivePort, extension background and timeout exceptions?

Im getting the following exceptions randomly when launching chromedriver 90 for selenium automation. - failed to wait for extension background - time out exception - DevToolsActivePort file doesn't…
0
votes
1 answer

how can I test a remember me feature using selenium python

how can I write a test case validation for a remember me button as selenium every time opens a new instance of the browser with no cookies. I heard ChromeOptions class can store cookies in a private file. I tried searching for the argument and…
0
votes
1 answer

Appium: chromeOptions not recognized by appium

I am trying to automate a mobile application. In the capabilities.json file, I have included chromeOptions. "goog:chromeOptions": { "args": "--disable-fre" } I am doing this to skip the Welcome to chrome page during automation. But this…
0
votes
1 answer

Is there a way to set chrome options when using the seleniumrequest module?

My goal is it to make a request by using the seleniumrequest module. This is working fine. But now I often get captchas that are harder than the normal ones. So I assume the site is able to detect that I use selenium. So the next step would be that…
0
votes
0 answers

Chromium/Selenium - Change displayed date format on entrys

I use Selenium, Chromedriver and Chromium to access a website. Now there is an entry field on this page. If I don't enter a browser language, German is the default. Then I have to pass the date in the format (DDMMYYYY). When I open the browser with…
0
votes
1 answer

How to input a File Path which is a variable as part of a String (Python)

I am trying to plug in a String variable in my Chromedriver's default download directory, as shown below: path = str(os.getcwd()) pdf_path = str(path + '\pdf') chrome_options = Options() chrome_options.add_experimental_option('prefs', { …
0
votes
1 answer

Why can chrome store this session data but firefox can not?

So I want to store a Whatsapp Web session in order to not having to scan Whatsapp Web's QR-Code every time. I did it with the following code: options =…
derpascal
  • 172
  • 1
  • 10
0
votes
1 answer

Blocking login overlay window when scraping web page using Selenium

I am trying to scrape a long list of books in 10 web pages. When the loop clicks on next > button for the first time the website displays a login overlay so selenium can not find the target elements. I have tried all the possible solutions: Use…
0
votes
2 answers

Accept/Ignore SSL certificate in Chrome browser

I am having this problem with ChromeOptions class in Java. When implementing it in my code it doesn't contain some of the methods that I need to Accept/Ignore SSL certificate in Chrome browser. Methods like .setCapability so I can pass in it…
0
votes
2 answers

Robotframework: Create Webdriver reports bluetooth_adapter_winrt.cc error

We have developed some tests using a Robotframework Ride 1.7.4 / Python 2.7 environment, and tests are running correctly. We have now created a new environment using Robotframework ride v2.0b1 / Python 3.8.4 and the following commands are no longer…
0
votes
1 answer

Configured ChromeDriver capabilities are lost after building the WebDriver in Node Selenium

I'm trying to add in the default download path with chrome capabilities using the code shown below: const test = async () => { let builder = await new Builder().forBrowser("chrome"); let chromeCapabilities = builder.getCapabilities(); //…
0
votes
1 answer

Why is my webdriver.chrome() not working?

Before I get blasted in my comments on this question, I am well aware that this is a possible duplication of this link, but the answer provided is not helping me out with my instance of code, even after applying an adjusted version of the answer in…