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

Image may be NSFW.
Clik here to view.

Extract Element from Python Scrape

Hello World,Currently trying to extract information from a webpage with python (shown below), I am having some issue.Below is the Code that I have to extract content of the page:from selenium import...

View Article


How to open multiple windows using Selenium WebDriver

I was trying to learn about "switching between multiple windows" using Selenium WebDriver but for that I am unable to OPEN multiple windows using driver.get() or driver.navigate.to(), that opens the...

View Article


element not attached to page document, async functions running simultaneously

I cannot solve the following problem, neither could I find any info regarding it, so it's time to post it here:I have the following piece of codeconst smdb = new SmdbPage; const edit = new SmdbEdit;...

View Article

How to enable logging Preference for chrome using robot framework

I am getting error 'No logs available - you might need to enable loggingPrefs in desired_capabilities' when I run the following code.Valid Login through spectrum ${list} = Create List --start-maximized...

View Article

Selenium doesn't quit on KeyboardInterrupt (Python)

I'm trying to close Firefox instance that my app has opened when user interrupts the program. But selenium doesn't close the window. Here is a sample code that shows the problem:import time from...

View Article


Difference between selenium-support and selenium-java jars

I'm confused about the use of the selenium-support jar file.There is another achieve available called selenium-java.jar, which is selenium java binding.Where I can use selenium-support jar?

View Article

I need selenium java webdriver in firefox to save session

I am using the code below: System.setProperty("webdriver.gecko.driver", "C:\\geckodriver.exe"); ProfilesIni profileIni = new ProfilesIni(); FirefoxProfile profile = profileIni.getProfile("default");...

View Article

Selenium: TestNG: Tests are not running in parallel

I have simple maven project with 3 class file. When I run my testng.xml file, tests are running in series.I tried keeping parallel="classes", parallel="methods", parallel="tests" but no luck. Also...

View Article


How to fix [1580988015.964][WARNING]: Timed out connecting to Chrome, retrying

Below error appears.Starting ChromeDriver 79.0.3945.36 (3582db32b33893869b8c1339e8f4d9ed1816f143-refs/branch-heads/3945@{#614}) on port 27533 Only local connections are allowed. Please protect ports...

View Article


Unable to click on Search icon [closed]

<div id="floating-search" class="ssbtn-hover color-9 trigger trigger-bottom" tabindex="0" xpath="1"> <span id="ssIconAnim" role="img" aria-label="SpotSearch Floating icon" class="fas...

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

Can't click on All link in java selenium webdriver

My script is that "click on all the links" in the dashboard. when I am doing debugging then clicking each and every link but when run that script that time some links are not clicked and the script is...

View Article

Trying to create web automatic tool with Selenium, however the website won't...

I am trying to build a basic web automation tool for office purposes. I've followed some guides and am able to at least get the script to detect the driver and open the browser. from selenium import...

View Article


"no such element" [closed]

I get the nosuchelementexception no such element unable to locate element error in the code below. I put it in time. what can I do?HTML-Codediv id="userCreate" click="create"...

View Article

Image may be NSFW.
Clik here to view.

How to continue to scrape data from where the loop is broken due to errors in...

im using selenium in python to scrape data from sciencedirect website. im able to scrape data but at somepoint of time there is a new window opening in the driver and the code is broken after...

View Article


Protractor constantly running out of memory

I am working with protractor tests and recently encountered memory related issue - javascript heap out of memory. I tried increasing memory heap via --max-old-space-size=8096 but even though one node...

View Article

How to get the number of rows in of table?

I want to get the numbers of rows of a table on a web page using selenium python. I tried the following way describe here: How to count no of rows in table from web application using selenium python...

View Article


Selenium: Why does chromedriver.exe randomly "freeze", failing my tests?

Given:All the below are on Windows 10 / Server 2012 R2Selenium .Net (C#) tests (Selenium.WebDriver nuget v3.141.0, .Net Framework v4.8)ChromeDriver 78.0.3904.70Google Chrome Version 78.0.3904.97...

View Article

Is it possible to pause and resume like event when scrolling webpage using...

I using selennium with python to crawl webpage. But I want to pause and resume everytime when scrolling webpage. Is it possible?

View Article

Python_Pytest_Selenium_Import_error_make sure your test modules/packages have...

Issue: I have folder (directory) and in this folder I have multiple .py files (modules) Now when i want to run my test cases written in one of the .py file called test_sample.py, then on that file, I...

View Article
Browsing all 97762 articles
Browse latest View live


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