Team City run C# Selenium Tests with .runsettings parameters
I have a .runsettings in my C# and Selenium project and would like to run it against an existing Windows agent in Team City. The project is added to the Git Repo and I'm able to pull the latest.I've...
View ArticleSelenium finds element, but can't interact with it due to element ID missing
So I had a perfectly working code, up until I was playing with other parts of the script today, and one part all of a suddent stopped working, my code is:$host = 'http://host.com:4444/wd/hub'; $caps=...
View ArticleConnect to the existing Firefox through the Selenium?
I have a question about connecting to the existing Firefox instance (for example manually started with any command arguments we need) through the Selenium. For me, this extremely accelerates developing...
View ArticleHow Do I Select All in Selenium using Ruby on a Mac
Using: Selenium, Ruby, Mac, ChromeProblem: I'm trying to do a simple command 'a' to select the text in a field.Originally I was doing a control 'a', sorry I'm new to mac. Now that I know it's command...
View ArticleHow find string on page and click without elements
I am developing an automation and need to search a specific text on the web page and make a click on it, because it will expand a menu.The problem is that the field is changeable and the text may vary...
View ArticleScrap data from a website that uses MS Power BI
There is a website which uses MS Power BI to embed the data(I cannot reveal the URL of the website for security reason)I need to scrap the data from the website using a web based solution and not using...
View Articleselenium webbrowser: How to extract several attribute names by iteration?
I am trying to scrapping data (departure times, carrier, price etc.) from a train searching platform (https://www.thetrainline.com) and i get a problem for extracting the names of attributes. The HTML...
View Articlehow to get the xpath from Katalon studio's testObject in 3rd party jar file
I want to create 3rd party jar file for "customize wait" functionality, which will further use in Katalon studio Test Cases to synchronize the test case by calling "waitTillObjectPresent()". Sample of...
View ArticleHow to use Pencil tool in Selenium
I am working on Selenium. Can someone guide me on how to select pencil from tool box and draw on a whiteboard using Selenium? I tried different things with no help.
View ArticleHow can I extract all the different text entries with their font size from a...
I'm trying to output all text entries with their corresponding font-sizes from an online PDF. I'm using python and selenium.I seem to be able to identify some text & sizes using 'textLayer' but the...
View ArticleHow to get a td element by a div which in that td?
There are a div in td, How can i get td element by div?<td> <div> <span></span> <div class='A'></div> </div> <td> I just could get parent element to...
View ArticleIs it possible to run HTML test suite from PHPUnit?
I want to measure code coverage of an HTML test suite for selenium. Therefore I want to use PHPUnit in order to execute the suite, because PHPUnit has nice support for code coverage analysis.Therefore:...
View ArticleIs @FindBy (id = 'blabla') same thing as //*[@id='blabla]
I decided to give a try to Katalon and got this question because Katalon Studio, when user choose "locate by attribute 'id'" it shows that //*[@id='blabla'] will be used to locate element. But as for...
View ArticlePython/Selenium - Clear the cache and cookies in my chrome webdriver?
I'm trying to clear the cache and cookies in my chrome browser (webdriver from selenium) but I can't find any solutions for specifically the chrome driver. How do I clear the cache and cookies in...
View ArticleChrome open then immediately quits after running Selenium test with python
Chrome open then immediately quits after running Selenium test with python. any suggestions? I have searched all over but nothing helps.from selenium import webdriver import os class AutoAlef(): def...
View Articlepycharm- python with selenium web driver. Get error object has no attribute...
I'm trying to run basic automation on tesco website on selenium web driver on python using PyCharm. I am able to create 1 function and have everything within it and it works. However when I split it...
View ArticlePython Selenium Internet explorer not able to find css selector, or xpath
So a little background on this, flask is being run through alwaysup, which keeps flask always up as a windows service. This whole process makes my selenium script start in a different instance not in...
View ArticleHow can I improve the performance of my code? Selenium + JSON in Java
I am trying to write a script to test a website with selenium webdriver but I have a problem. There is a table on the website. If I hover over a field, I get some informations about the field. The...
View ArticleHow to scrap a data table from a webpage after applying a filter
I'm trying to build a data scraping tool, however, the values of the table change after applying a necessary filter. I'm not sure how to apply the filter using selenium or other tools.My plan was to...
View ArticleHow to find text from div class Selenium Python
I am trying to get text out of div class statement with Selenium.from selenium import webdriver import time chrome_path = r"C:\Users\User1\Downloads\chromedriver_win32\chromedriver.exe" driver =...
View Article