Skip to main content

All Questions

0 votes
0 answers
6 views

Selenium not opening the profile I needed

from selenium import webdriver from selenium.webdriver.chrome.service import Service from selenium.webdriver.chrome.options import Options import time chrome_options = Options() chrome_options....
Saad Latheef's user avatar
0 votes
0 answers
31 views

Unable to Start Chrome Session in Selenium: "Could not remove old devtools port file" Error

I'm attempting to run this script in digitalocean server, it worked fine on my computer but not on the server. <!-- begin snippet: js hide: false console: true babel: false --> Traceback (most ...
Deka Halane's user avatar
0 votes
1 answer
34 views

How can I solve this problem with ChromeDrive?

I have this code: from selenium import webdriver from selenium.webdriver.common.by import By import time driver = webdriver.Chrome(r'C:\dchrome\chromedriver.exe') driver.get('https://www.smv.gob.pe/...
Sebastian Gómez Tenorio's user avatar
1 vote
1 answer
23 views

python selenium keep my login information to open chrome

I logined my youtube account,now I want to use selennium to open chrome and then open wwww.youtube.com/ with the account logined.how to achieve that? user_data_dir=r'C:\Users\cccc\AppData\Local\...
learner's user avatar
  • 13
1 vote
1 answer
132 views

1SessionNotCreatedException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure

Could not launch the browser (Chrome, Edge, etc) I have latest build of Chrome : 126, Selenium : 4.22.0, java.version: '22.0.1'. Exception in thread "main" org.openqa.selenium....
user12091391's user avatar
0 votes
0 answers
16 views

Chromedriver timeout issue with cookies in Python

I get the following exception when using Chromedriver from the following lines of code: self.click(By.XPATH, searchtab_xpath) self.wait.until(EC.visibility_of_element_located((by, value))) The ...
S_S's user avatar
  • 1,334
1 vote
0 answers
21 views

For each selenium request Google Chrome Browser generates 4 MB Browser Metrics file

I am using "Chrome for Testing" browser to execute my Jasmine / Selenium Test cases. While executing the test case, when browser start creating BrowserMetrics-XXXXXXXX-XXXX.pma files. Due to ...
Yogesh's user avatar
  • 175
0 votes
0 answers
49 views

How to Intercept and Modify JavaScript Responses Before Execution Using Chrome DevTools Protocol (CDP)

I'm working on a project where I need to intercept JavaScript code that the browser receives but prevent it from executing immediately. I want to modify the JavaScript code to inject a custom worker ...
NoNam4's user avatar
  • 537
0 votes
0 answers
40 views

Install Chrome Driver in Airflow Docker Image

I need to install chrome driver in airflow image. This is the command I use : # Use the base image FROM apache/airflow USER root # Install necessary dependencies RUN apt-get update -qq -y && \ ...
Mosy Mosy's user avatar
0 votes
0 answers
87 views

Service chromedriver unexpectedly exited. Status code was: 127

I am having problem running selenium python tests on Gitlab CI. But those works fine if I run on my local system. Those tests were working fine earlier on CI with chrome and chrome-driver version 114 ...
varun's user avatar
  • 221
1 vote
1 answer
147 views

ChromeDriver - element can be located on Chrome v125 but not on v126

I have a C# Selenium test that fails to locate an element on Chrome v126. This works fine on Chrome v125, and using the same CSS selector on Chrome v126 browser console works fine. Has anyone ...
MarkyMark's user avatar
0 votes
0 answers
52 views

Selenium | chrome or chromedriver stops working after 30min

i have the following problem, chrome or chromedriver stops working after 30min I have been working with the Selenium Framework in combination with chromedriver and chrome for a while now. I already ...
rock4k's user avatar
  • 1
0 votes
0 answers
47 views

ChromeDriver Assuming Crash: The process started from chrome location /usr/bin/google-chrome is no longer running

I am working on a web scraping bot using Selenium in Python. My setup involves using webdriver.Chrome and I am running into an issue where the ChromeDriver assumes that Chrome has crashed. Here are ...
Sakib ovi's user avatar
  • 560
0 votes
1 answer
180 views

How can I disable Chrome pop-ups like this while running automated Selenium tests in Python?

I am currently writing an automated testing suite for a large Django project for my corporation. Everything was going well until I updated Chrome (v.125.0.6422.142) and Chromedriver (v.125.0.6422.141)....
theValloneRanger's user avatar
0 votes
0 answers
114 views

Selenium issue: DevToolsActivePort file doesn't exist (SessionNotCreated)

since a week ago, we are facing an error when we start the ChromeDriver in a Selenium project. Our C# piece of code is: var options = new ChromeOptions(); options.AddArgument("--no-sandbox");...
Pablo Pedro Chiflao's user avatar

15 30 50 per page
1
2 3 4 5
123