Linked Questions

-1 votes
1 answer
394 views

How to convert text to speech in Selenium? [duplicate]

I have a scenario where I need to convert text into speech. Is there any way to do this using Selenium with Java?
prakash barik's user avatar
639 votes
26 answers
498k views

Can a website detect when you are using Selenium with chromedriver?

I've been testing out Selenium with Chromedriver and I noticed that some pages can detect that you're using Selenium even though there's no automation at all. Even when I'm just browsing manually just ...
Ryan Weinstein's user avatar
142 votes
20 answers
331k views

How to configure ChromeDriver to initiate Chrome browser in Headless mode through Selenium?

I'm working on a python script to web-scrape and have gone down the path of using Chromedriver as one of the packages. I would like this to operate in the background without any pop-up windows. I'm ...
Maz's user avatar
  • 1,709
112 votes
16 answers
168k views

Selenium webdriver: Modifying navigator.webdriver flag to prevent selenium detection

I'm trying to automate a very basic task in a website using selenium and chrome but somehow the website detects when chrome is driven by selenium and blocks every request. I suspect that the website ...
Ajanth's user avatar
  • 2,505
72 votes
10 answers
63k views

Is it possible to run Google Chrome in headless mode with extensions?

I cannot use my currently installed extensions in Google Chrome using headless mode. Is there any way to enable them? An easy way to check if the extensions work is by adding, for example, the "Comic ...
pau.moreno's user avatar
  • 4,655
63 votes
7 answers
148k views

Select iframe using Python + Selenium

So, I was absolutely baffled as to how to do this in Selenium, and couldn't find the answer anywhere, so I'm sharing my experience. I was trying to select an iframe and having no luck (or not ...
rossdavidh's user avatar
  • 1,996
28 votes
14 answers
224k views

How to open a link in new tab (chrome) using Selenium WebDriver?

System.setProperty("webdriver.chrome.driver", "D:\\softwares\\chromedriver_win32\\chromedriver.exe"); WebDriver driver = new ChromeDriver(); driver.manage().timeouts().implicitlyWait(10, TimeUnit....
nlogn's user avatar
  • 1,054
40 votes
11 answers
47k views

Get PID of Browser launched by selenium

I would like to get the PID of the browser launched by selenium. Is there any way to get it done?
Harshavardhan Konakanchi's user avatar
62 votes
6 answers
269k views

How can I bypass the Google CAPTCHA with Selenium and Python?

How can I bypass the Google CAPTCHA using Selenium and Python? When I try to scrape something, Google give me a CAPTCHA. Can I bypass the Google CAPTCHA with Selenium Python? As an example, it's ...
user avatar
33 votes
11 answers
95k views

selenium.common.exceptions.ElementClickInterceptedException: Message: element click intercepted: Element is not clickable with Selenium and Python

I am currently working on a project which fills a form automatically. And the next button appears when the form is filled, that's why it gives me an error. I have tried: WebDriverWait(driver, 10)....
GoekhanDev's user avatar
41 votes
9 answers
58k views

"Failed to decode response from marionette" message in Python/Firefox headless scraping script

Good Day, I've done a number of searches on here and google and yet to find a solution that address this problem. The scenario is: I have a Python script (2.7) that loops through an number of URLs (...
Reily Bourne's user avatar
  • 5,297
34 votes
12 answers
53k views

Open tor browser with selenium

Is it possible to make selenium use the TOR browser? Does anyone have any code they could copy-paste?
user1907403's user avatar
59 votes
5 answers
166k views

How can I get text of an element in Selenium WebDriver, without including child element text?

Consider: <div id="a">This is some <div id="b">text</div> </div> Getting "This is some" is nontrivial. For instance, this returns "This ...
josh's user avatar
  • 9,518
19 votes
8 answers
108k views

WebDriverWait is deprecated in Selenium 4

I'm getting a Warning: (143,13) 'WebDriverWait(org.openqa.selenium.WebDriver, long)' is deprecated in Selenium 4.0.0-alpha-3. But official Selenium page lists only WebDriverWait(WebDriver ...
Mate Mrše's user avatar
  • 8,394
35 votes
5 answers
49k views

Selenium Compound class names not permitted

I have the below code that clicks on an element to pop up a screen and copy the text in it el1 = driver.find_element_by_id("keyDev-A") el1.click() el2 = driver.find_element_by_class_name(&...
jake wong's user avatar
  • 5,218

15 30 50 per page
1
2 3 4 5
46