Questions tagged [selenium-chromedriver]

Developed in collaboration with the Chromium team, ChromeDriver is a standalone server which implements WebDriver's wire protocol.

Filter by
Sorted by
Tagged with
0 votes
1 answer
21 views

selenium testing node.is_displayed() in try/except makes crash my script when there's no match

chrome=111.0.5563.64. I have this snippet: try: if self.driver.find_element(By.XPATH, '//*[text()="pattern"]').is_displayed(): printerr("pattern found") sys....
0 votes
0 answers
9 views

How to Click the print button on a chrome print-popup window using Seleniu,-Python?

I am trying to download a repport from a dynamic webapp. But i can't quite catch the popup in google chrome with the code that has the print button. The code is the following: driver = webdriver....
-1 votes
0 answers
7 views

Why Selenium ChromeDriver does not work on other Machine?

I wonder why this works on my machine, but does not work on client machine? When executed the chrome browser will just not open. Sorry I don't have traceback for now. But maybe something catches the ...
  • 157
0 votes
2 answers
19 views

How to close popup in Selenium using Java.?

I am unable to close popup (Find attached screenshot) in the website>> https://www.lambdatest.com/selenium-playground I tried closing the element by using locators but I got element not ...
0 votes
1 answer
11 views

cannot find Chrome binary

I am trying to deploy a web scrapping flask app on render and the code is pulled from my GitHub repository. On my local computer it runs fine in venv on VScode but when trying to deploy using ...
  • 1
0 votes
0 answers
15 views

QAF Getting "Invalid Status code=403 text=Forbidden" error on launching the chrome driver after latest chrome upgrade

QAF Getting "Invalid Status code=403 text=Forbidden" error on launching the chrome driver after latest chrome upgrade Lot of them asked to provide "--remote-allow-origins=*" as ...
  • 31
-1 votes
1 answer
20 views

I'm unable to access the table values as it is not having a table tag

Tables usually have a tag but this table is defined in the class and it also has a container This is the website: https://opensource-demo.orangehrmlive.com/web/index.php/admin/viewJobTitleList enter ...
1 vote
0 answers
18 views

Selenium Chrome Headless uses the wrong User Profile (Python) [duplicate]

Currently writing up a Python Selenium script with Headless Chrome. Here are the options I'm using to build the driver: chrome_options = Options() chrome_options.add_argument("--headless") ...
  • 11
0 votes
0 answers
28 views

Python Selenium Webdriver doesn't give an error

Python code is as follows: from selenium import webdriver from selenium.webdriver.chrome.options import Options import logging driver_path = "/usr/bin/chromedriver1" def ...
0 votes
0 answers
8 views

Running docker container with google chrome profile

I collect data from one site, using python, selenium and chromedriver. I use my google chrome profile to bypass the captcha. There was a need to run my script in a docker container. I can't launch ...
0 votes
0 answers
24 views

Selenium Webdriver Issue

org.openqa.selenium.remote.http.WebSocket$Listener onError..This is the error showing when I try to automate chrome browser. What should I do to resolve this problem I am trying automate chrome ...
  • 1
1 vote
1 answer
20 views

ERROR:page_load_metrics_update_dispatcher.cc(194)] Invalid first_paint error using Selenium Python ChromeDriver

I am just starting to learn selenium but when I run the program it opens the chrome window for few seconds and then closes giving the error: DevTools listening on ws://127.0.0.1:52176/devtools/browser/...
0 votes
1 answer
23 views

Python Selenium Browser Element Not Found Error

Im trying to develop a python bot but when I run the following code down below it opens the first link from the list correctly but then crashes. I'm getting an element not found error not sure how to ...
0 votes
0 answers
32 views

java.io.IOException: Invalid Status code=403 text=Forbidden - Exception error message coming while running code after a pc update

Everything was working fine and after an update or something now while launching Selenium ChromeDriver. org.openqa.selenium.remote.http.WebSocket$Listener onError WARNING: Invalid Status code=403 text=...
  • 1
0 votes
0 answers
11 views

Download a file using Watir (Selenium) gem with Browserless chrome (docker chrome instance)

I'm trying to use browserless chrome docker instance to create a headless instance of chrome and download some files. So far using Watir integration on ruby it's very straight forward, but when I use ...
0 votes
0 answers
26 views

setting up proxy in chromedriver with authentication in C#

I want to set up different types of proxies(HTTP/SOCKS4/SOCKS5) with authentication in my selenium. I have tried these two methods with no luck. What's the problem? First try: var options = new ...
  • 21
0 votes
0 answers
25 views

WARNING: Unable to find CDP implementation matching 111

I was able to start up correctly on a vps chrome driver however it gives me these warnings... can you help me? $ java -jar demo.jar SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder&...
0 votes
0 answers
19 views

How to open a SSO-enabled site with Selenium's chrome driver headless?

I get the following error when I try opening the site with headless: The page URL is: https://login.microsoftonline.com/906aefe9-76a7-4f65-b82d-5ec20775d5aa/login How to allow third-party cookies ...
0 votes
0 answers
10 views

Extent Reports createLabel print out List of Strings with line separator

I am looking to essentially create a test in Extent reports that will have a list of Strings printed out, and each String in the list should have a newline separator. This means that in Extent report ...
0 votes
0 answers
23 views

Selenium + Python ActionChains or PyAutoGUI "Ctrl + S" doesnt work on a web-based PDF

I'm trying to write a program using Selenium which can continually loop through a webpage, click on dropdown menu links based on the town, month and year which opens up a web-based pdf. From there, I ...
0 votes
0 answers
27 views

Selenium throws an error: Chrome failed to start: exited normally

I have a problem with my autotests. It built on C# using Selenium. On my VM everything works fine. I have dotnet version 6.0.300 But when I try to launch it on some other VM I ran in to a problem ...
0 votes
2 answers
30 views

Python Selenium - Select the 2nd Button Class under nested div classes with the same name

CSS Snapshot I want to select the 2nd button class with class="js-save-load-menu-open-button button-reABrhVR apply-common-tooltip accessible-reABrhVR" However, possibly due to there are two ...
0 votes
0 answers
37 views

How to move mouse randomly (human like) with Python selenium?

I use Chromedriver 111 Searched the web for solutions, this is the best I can find: I've found this Bezier curve solution: https://github.com/patrikoss/pyclic But not sure I can integrate it in (...
0 votes
0 answers
22 views

C# How to access Chrome modheader extention in selenium test

I am using a Chrome Extension called "Mod Header" to modify the Header of Each Request. To be Specific I am passing client certificate and testing certificate is valid or not in my Automated ...
0 votes
0 answers
18 views

Response code 500. Message: unknown error: failed to write prefs file SELENIUM [duplicate]

I made a small bot on windows with selenium in java, I'm trying to export it on a linux vps with ubuntu installed. (I exported from Windows Chrome profile (default) to Linux Vps profile directory but ...
0 votes
0 answers
17 views

Selenium and Python - browser keeps going back to initial page instead of staying on new page

I am trying to fill out this page: https://cityoflapcp.ezlinksgolf.com/index.html#/preSearch by selecting the date, number of players, location, and then clicking submit. The code I have below is able ...
0 votes
1 answer
65 views

Getting error for selenium - both for chrome & firefox

I have gone through the available issues but not being able to identify the problem. Posting here to get help. OS - windows -10 browser - firefox - 107.0.1 selenium java - 4.8.1 testing for firefox - ...
0 votes
0 answers
6 views

WebScrap Table Div attributes

I need to obtain for each TD the information that is in each DIV. Thanks for the suggestions For example: calendar-day-01/02/2023 - True calendar-day-02/02/2023 - False Im using Java-Selenium. <...
0 votes
0 answers
17 views

selenium chromedriver not setting the new download directory

this is my IomMeScraper(Scraper) which inherits from the parent class Scraper class i am setting the download dir to be Z:\RawData\IOM_ME_Data it is not changing to that it always remains r'C:\Users\...
-1 votes
0 answers
12 views

open multible tabs by selenium Python on Edge internet explorer mode

i would like to ask about the below code, it's working with me but ones i do refresh the user and password are gone and sometimes when tabs open one by one the tab open on previously tab not in new ...
1 vote
0 answers
48 views

WebDriverException: Message: disconnected: not connected to DevTools [Python, macOs M2]

I'm trying to run tests using Chromedriver on MacBook M2, but I'm running into issues with Chrome and Chromedriver crashing. The browser window opens for a few seconds before crashing, and then this ...
0 votes
0 answers
14 views

How do I work out if a modal view is still visible or has finally closed after an indeterminant time using Selenium and Python?

I have a modal view which asks the user for certain details such as title, description etc for a list creation task on a website. Once you have entered all the details you can click save and the modal ...
0 votes
1 answer
35 views

Selenium can't find input element for site... selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element

Can't find element for login input. I'm using selenium and chromedrive in python. I´ve tried using the xpath for the element as you can see in the following code. The link for the site is also in the ...
  • 1
0 votes
1 answer
49 views

'DevToolsActivePort file doesn't exist' error with managed chrome browser or default user directory

I used to be able to run several instances of Chrome concurrently without issue. After a DevToolsTools active port file doesn't exist error popped up, the only solution that seemed to get things up ...
  • 89
0 votes
4 answers
51 views

Selenium: how to click on a button with the same class?

<div class="links-row"> <a href="https://example.com/manifest" target="_blank" class="blue-button">Manifesto</a> <a href="https://...
0 votes
1 answer
29 views

How to download chromedriver instead of webpage with python requests library

Today I'm creating a Python script to find a specific version of chromedriver here. My intention is to make a request to the URL containing the specific version of chromedriver I need to download and ...
1 vote
1 answer
32 views

how to get texts of elements with selenium in headless mode

I'm tiring to use selenium I headless mode (which works in background and won't open a tab in browser) my code finds elements but won't show any of texts between tags. any suggestions? this is the ...
0 votes
0 answers
29 views

Scrape Tweets with Selenium in Colab

Hi how are you doing? I am new to Selenium, I am working in colab (Python) with a Google Chrome version 111.0.5563.64 which is the same for chrome driver. The code works fine to scrape a few tweets ...
0 votes
1 answer
43 views

Cannot enter/Submit with Selenium python 3.10

The enter/return/sumbit form does not seem to work - I really dont understand why. The code is: from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver....
0 votes
0 answers
21 views

Java WebScrap selenium - Not Open Browser

I made a webscrap in java and it worked fine. The chrome was updated to 111.0.5563.65 and I updated the chromedriver, and now the browser does not open. I had jdk 1.8 and I updated it to 17 and ...
0 votes
1 answer
31 views

How do I resolve this error in Selenium : ERROR: Couldn't keep showing me the page https://www.google.com/

Code: from selenium import webdriver from selenium.webdriver.chrome.service import Service driver = webdriver.Chrome(service=Service("C:\Program Files (x86)\chromedriver.exe")) driver.get('...
0 votes
0 answers
18 views

Selenium ChromeDriver -> ClassNotFoundException: org.openqa.selenium.devtools.HasDevTools

I want to create an application that reads certain information about the Selenium ChromeDriver and stores it via Springboot. All this should be controlled via a graphical user interface. My graphical ...
  • 1
0 votes
1 answer
30 views

I want to assert the url with current url, but not assert the complete url just asserted on page url

Current_Url = https://Example.com/page_Name?start_date=2023-03-21&end_date=2023-03-21 unique_url_Total_client_ts = "https://Example.com/page_Name" assert Form_Data....
1 vote
1 answer
20 views

Python Selenium Select All Links In Spesific Element

I have the following code which works fine gets and lists all of the links in the given URL however Im struggling to make it work when I want to get links in a specific tag. Im new at python My code ...
2 votes
0 answers
59 views

How to optimise proxy authentication via selenium-webdriver?

I've been using selenium-webdriver npm package for navigating to a page via a protected squid proxy (sanitised here): 'use strict'; const { Builder } = require('selenium-webdriver'), proxy = ...
0 votes
0 answers
34 views

Webpage is refreshing automatically without calling driver.refresh() in code

I'm facing webpage refreshing issue at one my web page. web page is start getting refreshing automatically without even calling driver.refresh() method. and because of that sequence of event is break ...
0 votes
2 answers
133 views
+50

Selenium,unable to get price from website while running on google cloud platform windows virtual machine

The code: from bs4 import BeautifulSoup import undetected_chromedriver as uc from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver....
1 vote
0 answers
21 views

how to resolve error Invalid Status code=403 text=Forbidden in selenium 4 [duplicate]

`Facing error while launching chrome driver. WebDriverManager.chromedriver().setup(); ChromeDriver driver = new ChromeDriver(); driver. manage().window().maximize(); Not working to launch ...
0 votes
2 answers
22 views

Drop down value disappear closing when I click drop down to inspect, find xpath. How to find drop down value which collapse as soon as I click on it

How to get drop down value or xpath in selenium when drop down is not of Select type. How to find drop down value xpath of div type elements? I am clicking on drop down value to find xpath and it is ...
  • 166
1 vote
2 answers
35 views

How to perform mouse hover and click a link by using Selenium with Python

I am new to Selenium and my use case is using Selenium to automate an appointment booking workflow (https://app.courtreserve.com). The challenging part is that I can't hover over "Book a Court&...

1
2 3 4 5
277