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

Python requests to login website behind captcha

I want to log in an website https://eokulyd.meb.gov.tr/ and read some html from that. But the website has an control image, user must write number which is in that image. I know requests has Session...

View Article


when using chromedriver, with specflow, a new browser instance open per step

I'm having an issue with Specflow. For some reason, a new instance of chrome is started per step. can you help with this? For follow test, 3 steps, 3 chrome instance are started. Feature: Home...

View Article


python, selenium, chromedriver...

I am using this code to navigate a webpage, using selenium and chromedriver 2.9 (have also tried 2.8 without success)... I get this errors, all I want is test to show up in a firefox iframe:) What...

View Article

Selenium Webdriver: extending Navigation causes circular dependency issue

I have a very simple app.ts file that looks like this:import { Navigation, WebDriver } from "selenium-webdriver"; class MyWebDriver extends WebDriver { navigate(): Navigation { return new...

View Article

How to schedule the Python and Selenium script in which the browser to be...

This question already has an answer here:Execute python script via crontab 3 answersI have a python script for webscraping using selenium.In that I want to execute the script in a period of time ,for...

View Article


How to uncheck a checkbox by checking whether it is already clicked or not in...

Clicked a checkbox and how to deselect that checkbox domestic=driver.find_element_by_xpath('//*[@id="chkGraphic_0"]') driver.execute_script("arguments[0].click();",domestic)

View Article

How to fix this error in selenium: AttributeError: 'list' object has no...

how to fix AttributeError: 'list' object has no attribute 'find_elements_by_css_selector' Error in Python Using SeleniumHere is my code:for s in site: time.sleep(3) URL =...

View Article

Image may be NSFW.
Clik here to view.

Scrapy Is not Crawling Anything

Scrapy Crawler is Crawling when i run the code in terminal but it is not working when i am running the same in editor. My Code is:from scrapy import Spider from selenium import webdriver from...

View Article


How to extract text from Selenium Object?

My code logs into my Fidelity account and then finds an element. I'm able to find the Selenium object, but I want to extract the text in it which contains my portfolio balance. When I print the object,...

View Article


Using Selenium to Find Element In an Array By Class Name

I am trying to extract the text contained in a table with class name "infoBoxContents". However, there are multiple tables with this class name, and I am trying to extract text from the third table...

View Article

How do I loop through the children of an element I found using Python and...

I've found the element I'm looking for by link text and now I would like to print the names of all its children. The problem is that there are other links that use the same class all over the page and...

View Article

I want to scrape business listings using either BS4 or Selenium

I want to scrape business listings from all the pages in this page:...

View Article

In Python what is the code for F12 Keyboard press

Platform: Python+selenium+pycharmRequirement- Desktop - Open Chrome browser - Press F12 key followed by Ctrl+Shift+M together

View Article


Is it possible to use `element.click()` on Selenium with Chrome even on...

I'm writing a script to download a set of files on a website using Selenium and its Chrome driver in Python, but I find it disgusting to see the browser opens and gets a focus whenever the program...

View Article

How to find and click the button by "onclick" with Selenium and Python?

There are 2 buttons in a page, and the difference between these 2 buttons is "onclick".<button class="btn btn-primary" style="width: 96px;" type="button" id="YesBtn"...

View Article


Using R to download data automatically

I want to download all the data in either pdf or excel for each State X Crop Year X Standard Reports combination from this website.I followed this tutorial to do what I want. Download data from...

View Article

Programmatically edit CodeMirror contents without access to object

I'm using Selenium to run automated tests on a page which contains a CodeMirror editor. I don't have access to the object however I do have jQuery available. How can I edit the contents of the editor...

View Article


Image may be NSFW.
Clik here to view.

Find Element inside div, with ID ROLE with Python Selenium [closed]

I need to find this button to click, but I can't with xpath, can anyone help me, as I select this button, marked in red.

View Article

Specflow V 3 Selenium BDD Error while running test

I am getting below error while running the test,Message: OneTimeSetUp: System.TypeLoadException : Could not load type 'TechTalk.SpecFlow.Infrastructure.RuntimePluginAttribute' from assembly...

View Article

Why is selenium-webdriver (LiveServerTestCase) still pointing at the wrong...

I'm using Selenium to run some integration tests for a Django app (using postgres for the development database).I set-up the tests by creating a Model object. The tests then interact with the object...

View Article
Browsing all 98784 articles
Browse latest View live