Questions tagged [chrome-options]

144 questions
1
vote
1 answer

Cannot disabe DevTools listening on ws in chrome

I am getting this message and previously used the accepted solution here: Chrome devmode suddenly turning on in selenium Previously this worked for me. Upon reinstall however, I have noticed this no longer works. SO for example: options =…
user8900239
1
vote
1 answer

Launch Chrome with a specific Homepage using Selenium-Java

I am trying to launch Chrome with a specific Homepage set. Given below is the code, I am using: package WebDriverInitialization; import java.util.HashMap; import java.util.Map; import org.openqa.selenium.WebDriver; import…
John
  • 11
  • 1
  • 3
1
vote
0 answers

How to TakeScreenshots Selenium ChromeOption Driver

Not able to capture screen shots for electron application using java . Here is my code for webdriver setup. ChromeOptions chromeOptions = new ChromeOptions(); chromeOptions.setBinary("/Applications/betlite.app/Contents/MacOS/appname"); …
cod
  • 151
  • 4
  • 13
1
vote
1 answer

How can I run a selenium script in the background or minimize mode?

I am writing a script in Selenium WebDriver using C#. I want to run this script in the background or minimize mode. I don't want to display the browser to the user. I tried the Chrome Options class and its properties to accomplish the task but…
1
vote
1 answer

Chrome crashes on screenshot using Protractor/Jasmine screenshot reporter

I've noticed that when running my protractor E2E tests in Chrome, whenever a spec fails and my reporter tries to take a screenshot, Chrome will crash with the below error log. Tests without failures work fine. IE and FF with failures work…
1
vote
0 answers

Selenium webdriver - How to set "extensions-update-frequency" in ChromeOptions class

It seems you can't automate an extension update on the chrome extensions page using selenium webdriver (by clicking on the "update now" button. The button gets clicked but the click event is not registering any update as it should. After a little…
Banjaxx
  • 624
  • 2
  • 18
  • 34
0
votes
2 answers

java.lang.NoSuchMethodError: 'void org.openqa.selenium.chrome.ChromeOptions.mergeInOptionsFromCaps(java.lang.String, org.openqa.selenium.Capabilities)

since webdrivers 115 version release, my projects started failing with this error: first error - not facing with it right now So I have decided to update all dependencies in POM to have the most fresh packages there.. After resolving all…
jahu86
  • 1
  • 1
0
votes
0 answers

How to disable built-in PDF viewer in chromedriver?

Download should start when I click on the PDF download link but currently, pdf is open in a new tab and there is a download option currently my config: $chromeOption->addArguments([ "--disable-gpu" ]); $prefs = [ …
0
votes
0 answers

How to handle notification popup in child window or new tab using selenium?

In salesforce application, i see notification popup displaying which i could able handle using chrome options but when i click some links new child window or new tab opens with the notification popup. How can we disable those in middle of…
0
votes
0 answers

Selenium common Parent for FirefoxOptions and ChromeOptions

Currently we are using ENUM to switch between whether I need to execute on Local Chrome, Local Firefox, Perfecto Remote. Can we have a way where in for perfecto remote execution while runtime(from jenkins) I pass the text to run either on Chrome or…
0
votes
1 answer

Selenium: Options().add_argument, Options().add_experimental_option

I'm learning Selenium and trying to understand the parameters of the methods Chromdriver's Options class like add_argument, add_experimental_option, and so on. Where can I find information about these parameters? I have referred to some…
0
votes
0 answers

Unable to maximize window manually or have fullscreen mode in selenium-side-runner

I've been trying through either sending the key combination {Fn} +{F11} or {F11} alone in order to maximize window through the steps which seem to not affect side-runner's window behavior at all. Changing window size is not working as well. Cmd…
0
votes
1 answer

why my driver is not invoking when called by a constructor?

I created a POM structure where driver is initialized in the main class and called in page classes using constructor. The problem is that the url is also passed from one of a page class called s1 landing page but its not invoking, only chrome is…
0
votes
1 answer

How to launch specific chrome profile for Web automation using webdriverIO?

How to launch specific chrome profile for Web automation using webdriverIO? Requirement: My website is launched with the "Login with Google Option", so I want to launch it through Automation with already stored profile in chrome browser. So it will…
0
votes
1 answer

Selenium: Web scarping using selenium chrome driver and python

I am new to selenium and currently in the middle of the data extraction from the website, for example: "https://asc.gov/appraiser". The navigation is like 'website->Quick Search->Apply->Download'. I want to point the 'download' output (300k result)…