Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Browsing all 98779 articles
Browse latest View live
↧

SeleniumBase UC can't resolve captcha in Docker but work in local

I’m using SeleniumBase with Undetected ChromeDriver (UC) to bypass captchas. The script works perfectly on my macOS (local machine) using Chrome. However, when I run the same code inside a Docker...

View Article


Selenium can't find element on server, but can on local device

I'm trying to write a python script that will go to a website I host, wait for the external java script file to load, and then retrieve some elements that it creates. And it works great on my machine,...

View Article


How to click and loop through html with Selenium Webdriver/Python with no...

I'm new to scraping and am trying to get the available apartments and their accompanying information from this website (https://sightmap.com/embed/rx1p8y12vd6). Logically, I'm trying to have selenium...

View Article

How to click on a "Data Only" tab using Selenium in Python?

I'm trying to automate interaction with a webpage using Selenium in Python. The page contains a tab bar, and I need to click on the "Data Only" tab. The element has the following HTML structure:<div...

View Article

Image may be NSFW.
Clik here to view.

Selenium can not be runned by NPM scripts

This is the selenium example I copied from the official page. Only differences are 2 console.log to debug.const { Builder, Browser, By, Key, until } = require('selenium-webdriver');(async function...

View Article


FAILED CONFIGURATION: @BeforeTest beforeTest . MAVEN; TestNG, Selenium

Hi I'm trying to run Selenium script with Maven, TestNG in Eclipse. First I right click on my project and select TestNG | Convert to TestNG(testing.xml is created). Then I go to the Run Configurations...

View Article

Youtube scraping with selenium :not getting all comments

I am trying to scrape youtube comments using selenium with python. Below is the code which scrapes just the one comment and throws error driver =...

View Article

Unable to use Selenium Webdriver. Getting exception

The problem is that locally on my PC my tests work without problems, but when I try to run them on the test serverBut I get:EXCEPTION OCCURRED: System.InvalidOperationException Service for type...

View Article


Can not log in to Chrome Browser using Selenium Driver

I've tried to login with selenium on Chrome browser but I get the error:Couldn’t sign you inThis browser or app may not be secure. Learn moreTry using a different browser. If you’re already using a...

View Article


NoSuchSessionException when starting chromedriver

I am trying to create a simple test, just open the page and verify its title. I thought it could not be simpler, but... my test opens a new tab in a currently opened Chrome browser and fails on...

View Article

how to use collab in python script

On Python: Please send URL of a Google Colab containing a Python script that does the following:Retrieve the description text from https://youtu.be/iTmlw3vQPSs using SeleniumExtract all the timestamps...

View Article

Selenium shows java.net.SocketException: Connection reset

I have searched for the solution but I have not found the solution I always get this errorcodigo :public static void main(String [] args) {...

View Article

Accessing manually launched browser with Selenium

I am looking to access an already (manually) launched Chrome browser via selenium, using the steps below.launched the browser manually with custom flags in cmd:chrome.exe --remote-debugging-port=9222...

View Article


Selenium IDE command "execute script" not working

I'm a beginner with Selenium IDE. I want to use the "execute script" command. I created a two-line script to try it out but I'm not seeing the results I expect.In Selenium IDE I created these two...

View Article

Image may be NSFW.
Clik here to view.

How do I get an element from shadow DOM in Selenium in Python?

could someone please explain to me how to get an element from shadow DOM in Selenium4 in Python? I want to element.click() to Accept the cookies - but I fail at the very first step!I've tried...

View Article


Using Selenium to download a segment of a JW Player Live Stream

I'm trying to write a python script using selenium to download 60s (arbitrary) of a live video feed (through a JW Player). A screen recording of sorts would be an acceptable solution (if limited to the...

View Article

Reducing size of pyinstaller exe

I have a simple pandas pyinstaller exe which is over 40MB.My exe example:import collectionsimport csvimport seleniumimport pandasprint('hi')40MB+ for this seems a bit overkill.How can I reduce this as...

View Article


NUnit framework giving exception '...

We are using Selenium-WebDriver+ C# +NUnit framework. Recently we have migrated Selenium-WebDriver 4.10 to 4.17.When we try to executing the scripts in NUnit framework it giving following error.We...

View Article

Running Gitlab CI with selenium and firefox, getting WebDriverError: Process...

I need to setup a simple CI configuration to run tests of a web app project. Currently, my test file looks like this:import { promises as fsp } from "fs";import { equal } from "assert";import {...

View Article

Reusing common step definitions between two feature files in cucumber (java)

I want to know(if possible) -how to reuse step definitions related to few or all steps of a scenario from one feature file to another another?For Example- in my Feature file-1 :I have below...

View Article
Browsing all 98779 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>