Skip to main content

All Questions

0 votes
1 answer
8 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
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
0 votes
2 answers
94 views

Fetch likes from Instagram reels

In an attempt to study Benfords law, I'm trying to get a list of the likes on recommendet Instagram Reels. So the plan is simply to open Reels, fetch the Like Count, swipe to the next Reel and repeat ...
haifisch123's user avatar
0 votes
0 answers
28 views

Google Canary, Docker and Gemini Nano

Can I run the latest Google Canary with the Gemini Nano model in a Docker container in headless mode and interact with the model via Selenium (execute_script)? If so, how do I do it?
aasdf1xa's user avatar
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
5 answers
12k views

Chrome driver version (126) - can't find the chromedriver.exe

My Chrome version is 126.0.6478.127 (Official Build) (64-bit). But I can not find the related driver I tried with. https://googlechromelabs.github.io/chrome-for-testing/#stable The last number of ...
mohammad fallah'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
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
20 views

Selenium Adding Default Profile

I want my Google Chrome browser, which I opened for web scraping, to open with either the default profile or a specific profile. Selenium automatically opens it as a guest. I tried this code but it ...
Burak's user avatar
  • 37
1 vote
0 answers
38 views

Saving a page as pdf and SPECIFIYING WHERE THE DOCUMENT GOES

I want to save a page as a PDF. I am using Selenium in Python. I have the codes, and everything works. The only thing that I can't is not working that the PDF goes straight to the downloads folder. I ...
Abdelrahman Keraitam's user avatar
0 votes
1 answer
28 views

python selenium Headless chrome doesn't scroll

I'm working on a web scrapper to collect Facebook post comments for analytics purposes. On Facebook, after login, we can scroll the post page to get all the comments. Which dynamically loads the ...
silverFoxA's user avatar
  • 4,609
0 votes
0 answers
20 views

Selenium Web Drive java chrom

I use Chrom version 120 and selenium: <!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java --> <dependency> <groupId>org.seleniumhq.selenium&...
Iwona K'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

15 30 50 per page
1
2 3 4 5
285