What is the best way to test Notifications ? Selenium or using API? [closed]
I am looking for different ideas in which notifications can be tested both Push notifications for mobile and also on Desktop apps. Any advice will be helpful.Thanks
View Articlehow to call mobile elements from a different class in appium page object...
I am trying to implement page object model for appium suite. But it is throwing null pointer exception. I have made 3 classes one will start the app, other have mobile elements and functions defined...
View ArticleScrapy: selecting dynamically-loaded content with "More" button
I'm trying to scrape content from page similar to this: https://www.newsweek.pl/nwpl_2018002_20181231. It has "More" (pl. Więcej) button at the bottom of the page, which dynamically loads next...
View ArticleHow can i assign each browser task to have its own randomly generated ID so i...
I'm wondering how i can assign ID's to each browser window that i open so i can track it and maybe access it later. I'm currently using a For loop to make each browser but in this i want to give each...
View ArticleSelenium side runner cannot download file in headless mode
I recorded a side file for download some file from a website via Selenium IDE and played it back with Selenium side runner. it works fine in non-headless mode. But once I switched to headless mode, the...
View ArticleSelenium: How to Inject/execute a Javascript in to a Page before...
I'm using selenium python webdriver in order to browse some pages. I want to inject a javascript code in to a pages before any other Javascript codes get loaded and executed. On the other hand, I need...
View Articleselenium with IE: click button to download the file, and then clicks other...
By using selenium with IE 11 and Python 3.6.3, need to download Excel and PDF files from Website with selenium:click download button send keys S to save fileclick other button to downloadWhen I execute...
View ArticleWhy the loop skipped certain actions and proceeded to the next round
Problem explained: I wish to scrape all reviews from this url: https://seedly.sg/reviews/p2p-lending/funding-societiesSo what I want to do is: (1) use selenium to click all the "more" button if the...
View ArticleKatalon Studio fails to start application in Windows object spy
I use Katalon Studio 7.0.4 and Windows Application Driver v1.2 RC and allowed port 4723 on firewall. I used PuTTY for testing. Connection is successful, application is shown in spy tool, but got errors...
View ArticleWebDriverWait works but page_source still returns half rendered HTML
I have read Wait Until Page is Loaded, How to use Selenium Wait, Explicit Wait and other documentations to wait for a page to load and then start scraping. The wait successfully passes but I still get...
View ArticleIs there any way to define this permutations as the password to sign in, in...
I have a code with the permutations of characters and a code to sign in. I want to define permutations as the password to sign in. But in a loop, I mean the program first try the first permutation, if...
View ArticleWhy wouldn't this star-counting code work?
I tried to count the stars(ratings) of each rating column in this url 'https://seedly.sg/reviews/p2p-lending/funding-societies'I use selenium to automate the whole process. but neither stars,...
View ArticleSelenium- Unable to find the VerifyLocation assertion command in Chrome...
I am learning selenium, So I have this Doubt.I notice that VerifyLocation(which verifies the URL of the site) assertion command is not available in chrome Extension Selenium IDE.Is this normal or do I...
View ArticlePythno Selenium clicking list item within ui
I am working with python and selenium to click on the Photo/Video button on a facebook page. The HTML associated with this seems to have a list item (li) inside a ui. The html is as in the following...
View ArticleHow to use mouse operation in Robot Framework?
What I have tried: I tried using "Set Range" keyword but as input type was not Range it did not worked.
View ArticleHow do I retrieve the version of Selenium currently installed, from Python
The title says it all, I want to programmatically get the version of Selenium I have installed on my Python environment.
View ArticleUnable to locate element: python + selennium
I am trying to click on the drop-down shown in the figure This is what I have triedselect = browser.find_element_by_xpath("//div[@class='chosen-container...
View ArticleChrome page is not navigation after search page, using chrome driver, selenium
I have a script which opens pepperfry.com , searches for clocks and sorts them in price low to high.The aim is to verify the first 8 items are sorted in price. But after the sorting operation, we get...
View ArticleCan't add text to input type="tel" inside an IFrame using Selenium Python
HTMLI'm trying to write into "Security Code"EDIT HTML CODEI tried to write this:CVXPATH = '//input[@type="tel"]' cv=driver.find_element_by_xpath(CVXPATH) cv.send_keys("000")But I have this error:line...
View ArticleHow to handle modal or Pop-up Boxes in Selenium Python
I'm using selenium python to test a resturant pos system.After click different category menus,there will be about 3 different kinds of pop-up(modal) windows pop out to allow custom to chose...
View Article