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

Scraping instagram likes using Selenium

I want to scrape the amount of likes from an Instagram post using python and Selenium. I did some coding what I think should work but it just returns an empty text file.The code I have so far:import...

View Article


Selenium Chromedriver add cookie - invalid domain error

I am trying to store and upload a cookie that I retrieve from a webpage via selenium.I am new to cookies so please tell me what I am doing wrong. I am trying to learn.I open a page up with selenium,...

View Article


How to fix "Non-existing setting" error from robotframework and seleniumlibrary?

I am trying to run a script to search for the keyword "mdh" and to show mdh.se as a result. I installed robot framework and selenium library and this is my script which I wrote in sublime text and...

View Article

How to fix "Element with locator not found" in robot framework

I need to write a script where I can search with a keyword and test if a certain subject will show but I cannot manage to get the search id. This is my script.*** Settings *** Library SeleniumLibrary...

View Article

Is it possible to get HTML link from someone's facebook post [closed]

I just wondering is it possible to get HTML link of the post if someone posted an opinion or something in the group or on the wall?

View Article


Can not click on a Element: ElementClickInterceptedException in Splinter /...

I'm trying to scrape a page, but I sometimes have trouble clicking a link/button. When the web page loads, then the "loadingWhiteBox" will appear first and then disappear after a few seconds (but it...

View Article

Google chrome closes immediately after being launched with selenium

I am on Mac OS X using selenium with python 3.6.3.This code runs fine, opens google chrome and chrome stays open.:chrome_options = Options() chrome_options.binary_location="../Google Chrome"...

View Article

Image may be NSFW.
Clik here to view.

Google Login Not Allowed Selenium

I am running a selenium automation test from a Linux terminal only using the command line(No GUI)I am getting now an error that saysIf I run this headless on my local mac it works fine. Has anyone...

View Article


How do I find an element by its id in Selenium?

This is my code:I have used the find element by id RESULT_RadioButton-7_0 but I am getting the following error:from selenium import webdriver from selenium.webdriver.common.by import By driver =...

View Article


How to select complete line of paragraph with mouse by using offset or...

I want to select this text line with mouse:Today is the age of education we cannot neglect the importance of science an Technology.To achieve this I am using below code but it starts selecting from...

View Article

Image may be NSFW.
Clik here to view.

Next page on Selenium/Safari

Im trying to do some web-scraping on a site, but I can't access to the next page on safari.The site is: https://www.emol.com/todas/the code just give me the same results of the first page twice, I need...

View Article

TestNg [TestNG] No tests found. Nothing was run error is thrown on...

Below is the test code written, Can anybody help me on this,I am trying to fetch the test data from an excel file using getExcelData function which collects the data in ArrayList object, and below one...

View Article

Python Selenium find_elements_by_class_name Error

I am scraping a google page that has returned links to Linkedin profiles.I want to collect the links on a page and put them in a python list.Problem is I can't seem to properly extract them from the...

View Article


Selenium WebDriver - Unable to drag and drop element in IE11

I am trying to drag and drop an element from side panel to form. Drag and drop code what I wrote is like below.Actions builder = new Actions(driver); builder.dragAndDrop(source,...

View Article

java.lang.IllegalAccessError: tried to access method...

ERROR: java.lang.IllegalAccessError: tried to access method com.google.common.util.concurrent.SimpleTimeLimiter.(Ljava/util/concurrent/ExecutorService;)V from class...

View Article


Selenium Webdriver headless chrome with proxy authentication

I need to use an authenticated proxy with my headless implementation of chrome. These are jobs that get executed on heroku dynos (if there's maybe a better way to implement a proxy directly on heroku...

View Article

How to resize a web element using Selenium

can I resize a web element using selenium web driver? If this is possible, how do I check whether the action did work as expected using selenium.Thanks for your answers.

View Article


is stale; either the element is no longer attached to the DOM, it is not in...

So im scraping links using selenium. I can print my links with my loop but I cant navigate to them because I get the following error:selenium.common.exceptions.StaleElementReferenceException: Message:...

View Article

How to pass parameters programmatically in testng

I have a framework, where in one method it returns two Excel sheet rows say:Row[0]="Name","Age","Location" Row[1]="Uday","34","India"Here I call my TestNG testcase as below.TestNG testng = new...

View Article

Odd behavior running selenium chrome automation in the cloud

I'm experiencing something really weird when running some browser automation using selenium and chrome headless using the chromedriver.Everything works when I run it locally on my laptop. However,...

View Article
Browsing all 97799 articles
Browse latest View live


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