Skip to main content

Questions tagged [selenium-webdriver]

Selenium WebDriver provides the WebDriver API for controlling browsers in different programming languages ("language bindings"). When using this tag, also add a tag for the programming language you are using.

selenium-webdriver
0 votes
0 answers
10 views

Driver.get(url) is not working/static in a for loop

Below is a sample code for i in range(1,max): try: link=driver.get(some_url+str(i)) for j in range(1,5): link.find_element(“xpath”, <xpath>+str(i)) except NoSuchElementException: ...
Himanshu's user avatar
  • 3,929
0 votes
0 answers
13 views

Is there a way to scroll to the final product on the page? I can only fetch first 20 products from the given url

I am trying to fetch and print all the listed product from the given url 'https://www.swiggy.com/instamart/city/gurgaon/c/fresh-vegetables?custom_back=true' but currently facing issue with the scroll....
Swastika Narayan's user avatar
0 votes
0 answers
8 views

Python Selenium Proxy Bright Data Certificate Issue

I am trying to implement Bright Data proxy Residential IPs services into my Python Selenium code that is firing a webpage. Even when that page has a SSL certificate, it is loading in http not https. I ...
Gaurang Tandon's user avatar
0 votes
0 answers
20 views

'Key Error' trying to Scrape Facebook with Selenium

I want to extract some data from my profile in Facebook and I'm using Chrome driver. I want to create a Data Frame with the names of people who Liked my posts and look at some metrics about them (like ...
Petros Christopoulos's user avatar
0 votes
0 answers
19 views

Assign a table from an excel spreadsheet to a variable, so i can paste it in a website using Selenium - Python

I'm looking to be able to assign a table from an excel spreadsheet to a variable, so that i can paste it in a text field in Selenium This is the code that i have tried It pasted the headers of the ...
Clay Burnett's user avatar
0 votes
1 answer
20 views

Getting java.lang.NoSuchMethodError: org.openqa.selenium.chrome.ChromeOptions.setExperimentalOption error on doing mvn clean test

I am facing a weird issue in my project while running it as I am coming across an issue org.openqa.selenium.chrome.ChromeOptions.setExperimentalOption. Actually, I had first stuck with NoClassDefError....
Pratik Pathare's user avatar
0 votes
0 answers
14 views

Proxy not worrking with selenium python ERR- selenium.common.exceptions.WebDriverException: Message: unknown error: net::ERR_TUNNEL_CONNECTION_FAILED

I want to set up a proxy connection to a website using python-selenium to simulate a real user from different locations and make a bot. I am trying to work with Bright Data Residential IPs and Data ...
Gaurang Tandon's user avatar
0 votes
0 answers
19 views

How to call async javascript function and get the returned value using robot framework

I have a async javascript function stored in a robot framework variable. I need to call this async function using robot framework and get the returned value. I tried as below and its not working. Can ...
Prabodha's user avatar
  • 580
-2 votes
1 answer
53 views

Run python code in crontab: "File not found" error [closed]

If I run the python file directly there is no problem. However, when running in crontab, error "File not found" occurs. selenium.common.exceptions.InvalidArgumentException: Message: invalid ...
l22hs's user avatar
  • 15
0 votes
0 answers
23 views

ava.lang.IllegalArgumentException: byte.buddy: Invalid module name: 'byte' is not a Java identifier"

This is the error am facing: "Error occurred during initialization of boot layer java.lang.module.FindException: Unable to derive module descriptor for C:\Users\Dell\Desktop\Selenium\WebDriver\...
Kishore Kumar's user avatar
0 votes
0 answers
45 views

Getting error for COM excel when trying to build project in Visual Studio

When I build my project I am getting error saying The type or namespace name 'Excel' does not exist in the namespace 'Microsoft.Office.Interop' (are you missing an assembly reference?) In the ....
sriram srinivasan's user avatar
0 votes
0 answers
35 views

I am trying to find a way for the code to work (aka the console displays all meal types for each dining hall) without having to quit the driver

I am trying to find a way for the code to work (aka the console displays all meal types for each dining hall) without having to quit the driver in the second for loop. import time import csv from ...
Student_102345's user avatar
0 votes
0 answers
20 views

Successfully located element but can't click on it or send keys

I'm trying to automate posting listings on facebook marketplace with url: https://www.facebook.com/marketplace/create/item but I can't click on or send keys to elements even when successfully found. ...
rickw's user avatar
  • 19
0 votes
1 answer
18 views

Selenium with Typescript and Chromium

I'm wondering what forBrowser I'm supposed to use in Typescript if I'm using Chromium as a browser. forBrowser('chrome') doesn't work. I confirmed Selenium works with the setup I have (I made a test ...
Just Me's user avatar
  • 111
0 votes
0 answers
8 views

Selenium HTML5 video capture with chrome is blank while the one with Edge / FF works

I built a website capture tool that uses Selenium and Chrome / Firefox / Edge drivers. The problem is that when I try to capture a page with a html5 video with the Chrome drive (latest version), the ...
Scobee's user avatar
  • 448

15 30 50 per page
1
2 3 4 5
3845