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

Getting text in using Selenium

I have a question related to Selenium in Python:I want to obtain the text content "D. New Jersey" on a webpage. In addition, the text that I want to get can be different on different pages, but it is...

View Article


How to fix xpath?

This is the xpath that i have to use: "//*[@id="zona-mijloc"]/div/table/tbody/tr[1]/td[1]/label/kbd"String id =...

View Article


Wrap UI process in Docker container

I have a .Net application that uses Selenium to interact with a web site. I want to make this application (with the browser - Chrome - too) keep running in the background.Is it possible to keep the...

View Article

Image may be NSFW.
Clik here to view.

Issue running driver.find_elements_by_class_name

https://www.oddsportal.com/profile/Keenz/my-predictions/next/In a first block I get a dict of PICK indexes for every events. In a first block I get a list of events links for every matches. In a third...

View Article

Finding element in Python by xpath

I am trying to click on an item whose xpath is://*[@id="single-71048602500"]/div[2]/div[1] There are more elements that start with //*[@id="single"], and the number changes each time the page loads. So...

View Article


clicking a button of a message with selenium

I am trying to register to mail.protonmail via selenium, the captcha I will try to solve with ML.But I have found myself spending hours on something I thought would take a few minutes.After I press...

View Article

Integrating Cucumber into a test framework?

I have written a Test framework (that supports Selenuim). The way it works is such that when I create a test I only have to extend the base class.. class NewTest extend BaseTest { @Test public ABC() {...

View Article

I have a trouble with parsing a table in a web page

I am trying to extract one table from the web page (https://en.wikipedia.org/wiki/2018%E2%80%9319_Premier_League) by using selenium and BeautifulSoup.But I am stuck with parsing table. I want just one...

View Article


Seeking a faster way to scrape these pages

I have 612 pages to scrape. Here is a link to one of them. All links are stored in a list 'links'.http://www.tennisabstract.com/cgi-bin/player-classic.cgi?p=NovakDjokovic&f=ACareerqqI have some...

View Article


Selenium fails to get Alt Attribute of the first image on a result page

Selenium fails to get Attribute of an image, that I am getting with below method (class name). What am I doing wrong? This is happening on the Amazon HP.def getByClass(InputElement, amazonDriver):...

View Article

Why do my tests junit cucumber test fail when run together, but pass...

enter code hereNew to cucumber, both my scenarios work fine but when I run them both, the 2nd one fails. The first one runs fine and then closes the browser, then starts the browser again the 2nd...

View Article

Is it possible to reuse selenium session in chrome headless?

I have an upload sequence code that I am running using remote debugging to save me verification each time. I was wondering if it was possible for a session to be both headless and in remote debugging...

View Article

How to parse column values and its href with selenuim

im new with selenium and parsing data from the website. The problem is: i have website table with such HTML code:<table width="580" cellspacing="1" cellpadding="3" bgcolor="#ffffff" id="restab">...

View Article


How to write to an existing excel file without over-writing existing data...

I know similar questions have been posted before, but i haven't found something working for this case. I hope you can help.Here is a summary of the issue:I'am writing a web scraping code using...

View Article

Image may be NSFW.
Clik here to view.

Handle Print Preview window using selenium in chrome latest version

I'm trying to work with a Print Dialog box in google chrome version 75.0.3770.80. I am clicking on cancel button on print dialog using Selenium to close it.The cancel button can be inspected and its...

View Article


Is there a way to set the number of rows to run on the TestContext from the...

Hi I know we can use DataSource attribute to decorate a testmethod and do data driven test. My question is it possible to set number of rows to run after the data has returned. Meaning if i get back...

View Article

How to interact with a print box using python

I have been using selenium to automatic printing documents and I am stuck on the print screen. As far as I know, selenium does not interact with the print screen so I am looking for an alternate...

View Article


Does anybody know how to launch the print dialog from chrome by selenium+python

I have a question about how to launch the print dialog from chrome browser. I know the shortcut key to open this is ctrl+p, but I don't know how to describe it in selenium. Does anyone know this?...

View Article

Image may be NSFW.
Clik here to view.

Webscraping a Javascript React page using Python Selenium on an element that...

I'm trying to scrape a webpage that has a React element that hides the dropdown after few seconds. This is what you see when you first get to the page and the tab I would like to scrape. I'm trying to...

View Article

Download files inside div element using selenium - Python

I would like to use selenium in python to download files inside div element(no of files are dynamic inside div).I have a list of file names.HTML Contents:<div _ngcontent-c16=""...

View Article
Browsing all 98221 articles
Browse latest View live