Questions tagged [chrome-options]
144 questions
0
votes
0 answers
Robot framework - Selenium - ChromeOptions "Prompt For Download" not working when downloading a file
I'm using robot framework with selenium for automating my web application.
I'm trying to open chrome browser and download a XML file and then parse it from the results folder ${OUTPUT_DIR}.
Every time I'm trying to download any file, chrome browser…

dplvs
- 43
- 7
0
votes
1 answer
How to open Chrome browser maximized and supressing the infobars through ChromeOptions and addArguments using Selenium Java
I am using Chrome driver on mac, and when opening the browser I have these options
WebDriver driver;
@Before public void setup() {
ChromeOptions options = new ChromeOptions();
options.addArguments("use-fake-ui-for-media-stream");
…

anima
- 3
- 2
0
votes
1 answer
Groovy, Selenium, Cucumber, adding ChromeOptions arguments
I wanted to create a BaseTest.groovy where i implement the Webdriver with headless mode.
package api
import org.openqa.selenium.WebDriver
import org.openqa.selenium.chrome.ChromeDriver
import org.openqa.selenium.chrome.ChromeOptions
class…

danikaa25
- 11
- 1
0
votes
0 answers
Selenium Java Chrome error, DevToolsActivePort file doesn't exist still unresolved for me
Update: This is not a duplicate qns as none of the solutions at Selenium: WebDriverException:Chrome failed to start: crashed as google-chrome is no longer running so ChromeDriver is assuming that Chrome has crashed worked for me
I had my Java…

Ronaldo
- 263
- 5
- 18
0
votes
1 answer
How To Pass osVersion Capability Via Chrome Options To Browserstack
I have been refactoring my test framework to not use DesiredCapabilities since they are now Obsolete and there isn't a way to get rid of the warnings. I'm running into an issue when passing Options to BrowserStack where the OS and OSVersion options…

LoflinA
- 350
- 4
- 19
0
votes
1 answer
Chrome headless does not work with Re-direct (OAUTH2)
When I run my protractor project normally, everything is fine, but in headless mode, it does not work, times-out waiting for the first element I need.
I feel that because the page redirects due to OAUTH2, in headless it fails.
I have tried…

snikt
- 581
- 4
- 11
- 27
0
votes
0 answers
can't open browser using chromeoptions python
i Tried using chromeoptions in python to open the browser, but am facing some issues ,i have given the executable path but also it is telling like that. New To Python With Selenium. Help Needed!!
selenium.common.exceptions.WebDriverException:…

koushick
- 497
- 2
- 8
- 30
0
votes
2 answers
Geb - ChromeOptions not being used
Geb test ignoring GebConfig.groovy file launched in IntelliJ helped me get the ChromeDriver to be used, but now I have the problem that ChromeOptions are not being used despite being supplied.
I took the solution provided and just added the…

Guy
- 666
- 1
- 10
- 34
0
votes
1 answer
Access Chrome Options in JavaScript (optional: from Galen test)
I am using Galen (a JS tool for testing layout of a HTML page). It is configured from a .js file which can't use ES6 JS :-(
I need to load/amend ChromeOptions from the Chrome driver but I can't figure out how to access it. I see lots of examples of…

Scala Enthusiast
- 399
- 8
- 18
0
votes
1 answer
Why won't chrome option arguments work in remote web driver? (Selenium 3.11.0)
I have recently ugpraded to Chrome 65, ChromeDriver 2.37, and Selenium 3.11.0. I am trying to pass in chrome options into our remote web driver for our grid runs so that chrome starts maximized, but I can see from screenshots that the window is NOT…

Jayron Hubbard
- 121
- 5
- 14
0
votes
2 answers
How to enable-site-per-process flag using chromeoptions in webdriver c#
In Chrome there is a Strict Site Isolation setting that can be manually enabled in chrome://flags/#enable-site-per-process page. I'm trying to enable this flag when testing Chrome using WebDriver C# bindings but it's not getting enabled.
The switch…

user3198015
- 121
- 1
- 2
- 7
0
votes
2 answers
how to disable chrome pdf viewer in selenium and it should auto download in the default downloads when any pdf occurs
i m navigating a website where i have a situation that when I m clicking on a button it should download the pdf....
I am using the latest version of chrome 60, selenium 3.4, chromedriver.
HashMap chromePrefs = new…

Saurabh Gupta
- 1
- 1
- 2
0
votes
2 answers
unable to compile ChromeOption options.addarguments("--start-maximized") inside eclipse
Unable to compile code line "options.addarguments("--start-maximized") ", using selinum 3.0.1 and using ChromDriver_win32 latest version and eclispe Mars.. Let me know what i am missing. I am able to compile and run my test without options..
…
0
votes
0 answers
no such session exception while Loading Default/Custom Chrome Profile to run tests using Selenium WebDriver
I am loading custom profile of chrome by using following code:
ChromeDriverService chSvc = new ChromeDriverService.Builder().usingDriverExecutable(new…

kanu priya
- 98
- 11
0
votes
2 answers
How to disable/enable "Save as" dialog in Selenium Chromedriver?
I googled this question and found a lot of answers, still non of the solutions worked for me.
So my question is: how to Enable "Save as" dialog for Selenium Chromedriver? I want to see this dialog when I download a file.
Good to see how to do it in…

Denis Koreyba
- 3,144
- 1
- 31
- 49