Category "selenium"

Docker access container from java application in different container

I created a Dockerfile and i want to conntect my crawler application with my selenium server. I have connected the services via link, but its not possible to re

Continuous scraping (each second) of dynamic webpage with selenium

I am scraping website with selenium successfully using following code: import os import time from selenium import webdriver from selenium.webdriver.common.by im

How to make program (c#, selenium) wait to periodically check if the 'if' condition is met

I intend to increment the counter by 1 when the url changes and return the final count, eg 10 if url changes 10 times. The program has to wait until the user cl

Selenium and LINK_TEXT

I tried to scrapp a cost with a LINK TEXT but my scrapping method can't find the TEXT: budget = budgets.append((driver.find_element(By.LINK_TEXT, 'Total budget/

Selenium getting stuck when looping through pages

I have written code that pulls text from sites and analyses them for readability. However, I sometimes get stuck on sites. Is there any way for me to have my pr

Selenium getting stuck when looping through pages

I have written code that pulls text from sites and analyses them for readability. However, I sometimes get stuck on sites. Is there any way for me to have my pr

Selenium turning off on redirection problem

I have a problem with my selenium script. Basicly what is it supposed to do is click an element that redirects you to a completly different page (url and everyt

Django user authentication fails in selenium tests

I'm writing tests for my djangocms app, first time using selenium to replicate the browser/user. I'm trying to test the login page, user simply fills out the us

The inputs gives proper result but button doesn't work in selenium simple program

This is a simple code to add two values but whenever the code came to button it gives an error 'NoneType' object has no attribute 'click'. The values are filled

Scraping in <dt> and <dd> tags with bs4 ant python

How should i extract info i only need from <dt> and <dd> tags ? P.S and there is a lot of pages like that - hundreds Here is link for main page: ht

Java Selenium - how to test browser network -> payload?

Java Selenium - how to test browser network -> payload ? I have following code that works: WebDriver driver; BrowserMobProxyServer proxy; Proxy

How to create xpath that matches both conditions present in an element?

Description: I need to create an Xpath that matches both the condition present in the div class = 'item_inside' Explanation: Imagine There are two item_inside c

Can't get all table elements using selenium webdriver

I'm trying to get all information from this website using Python/Selenium: https://bitinfocharts.com/top-100-richest-bitcoin-addresses.html I have successfully

How to receive the IResult param in @after Hooks method in cucumber

How to receive the IResult param in @after Hooks method in cucumber at cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:52) at

JMeter and Selenium Integration

I have written Selenium Automation Test Scripts using Page Object Model. The scripts work well and no complaints there. I want to now do performance testing of

Captcha image cropped on the left side

update: I manually changed cnv.width = this.width to 120 and it kind of works. I also found that the image has rendered size and intrinsic size. Width is 35 for

When I try to print the copy string on console then instead of string they show me some "Element (id = 5131abe8-3c52-4e18-8eb6-3abedb48e19d)"

IWebElement link = driver.FindElement(By.XPath("/html[1]/body[1]/div[3]/div[1]/div[1]/div[1]/div[2]/div[1]/button[1]")); link.Click(); S

chromedriver Selenium in vba

I am currently struggling with coding and need help from an expert. Help. There are a large number of classes ("df-table") on that link homepage. The first clas

Change a agSelectCellEditor drop down value using selenium

I am trying to access values in a drop down which when I inspect, nothing is been in element inspector. I confirmed with developer what type of drop down is tha

How to wait for translated text to appear in DeepL.com

After entering original text in DeepL, it takes 1-2 sec for translated text to appear. I'm unable to get translated text with TimeoutException. I've tried to Sy