how to switch download directory using selenium / firefox / python?
I know this question has been asked before...but I've tried multiple approaches and for some reason anything I download from the driver keeps going to my Downloads folder.Basically I navigate to a...
View ArticleUnexpectedTagNameException while clicking dropdown menu item
I'm trying to get Python / Selenium to properly click on a dropdown menu and select "IT" but the best I could do was find the element and get an error stating I couldn't input text on what I have...
View ArticleFacing exception: org.openqa.selenium.NoSuchSessionException: A session is...
I'm executes automation with model of Keyword Framework on Mobile using selenium + TestNG + Appium - on Emulator device in my MAC OS (eclipse IDE),using the following version via .pom...
View ArticleAppium no longer finds elements on iOS 13.3 Safari
I seem to be having trouble with running my scripts on a real iOS device.I have an iPhone 6 on iOS 12.4.3 and my scripts run fine on it. I have an iPhone 7 on iOS 13.3 and it is unable to find any...
View ArticleHow to handle File download dialog/popup in IE browser USING SELENIUM and C#
I have page which downloads a file which shows a dialog on the bottom with OPEN SAVE CANCEL options, how can I click those options ? I am using IE browser, I saw some solutions using third party...
View ArticleUnable to return chrome://downloads/ list from a Protractor download test case
Allright , so I had this function written a while ago and it was working well. Basically I'm downloading a file and then checking if there is 1 item in chrome://downloads/ and if the filename...
View ArticleCheck the label of a checkbox using Selenium and behave in Python
I want to write a test that checks if the correct text is shown on a website. It mostly works, but I am stuck with checking the label of a checkbox.HTML:<div class="checkbox"> <label>...
View Articleprotractor - launch chrome with to disable web security for cors
So our application works in production with a CORS enabled.I have a project that isn't CORS enabled locally. Is there a way to disable web security for protractor? Is there a way for me to add...
View ArticleSelenium show this error when I install webdriver [duplicate]
Traceback (most recent call last): File "C:\Users\HP\PycharmProjects\itik\venv\lib\site-packages\selenium\webdriver\common\service.py", line 76, in start stdin=PIPE) File...
View Articleorg.openqa.selenium.WebDriverException: unknown error: cannot find MSEdge...
I have trouble running MS Edge test on MAC using Selenium Remote web driver.I tried to set System property for edge binary as below:dc = DesiredCapabilities.edge();...
View ArticleNeeding help to add proxy to script
I have made a script to enter my profile information on a website. I have multiple profiles that I need to enter from different IP addresses using proxies. I need help with how I should set up the...
View ArticleHow to select the next element
I have more or less this structure, How can I select the next element after title? The starting point must be x or y since the structure have duplicated classes and so on, and this one is an unique...
View ArticleSelenium generating error "Element is not interactable"
I am trying to use Selenium to click the button highlighted above. I have no problem locating the element via:download_button_path = "//button[@class='btn-primary']" download_button =...
View ArticlePython Automation Scraping Program - Sometimes Getting 511 Error Code And...
I'm trying to make a program that opens Firefox using Selenium, Gets the HAR files using BrowserMobProxy, Getting the link inside the files which leads you to a JSON page. The program scrapes the HAR...
View ArticleClick an item in a drop-down menu using selenium Python library
I'm trying to select an element in a drop-down menu. I tried to use "driver.find_element_by_xpath" call to locate the item in the list. The problem is that I can't select it. I tried ".click()" call...
View ArticleSelenium C# Script to test the standard login password requirements
Is there any Selenium C# Script available to test the standard login password requirements e,gTo Register you must use a password with at least eight characters and contain at least three of the...
View ArticleJava Selenium tests driver.close() and driver.qiut() Firefox issue
I am new in Selenium testing and I need to understand why my solution don't work with Firefox. I have a class Base which establishes the driver instance at @Before and close and quit driver on @After....
View Article.sendkeys method not working to upload file using Python Selenium
I'm trying to automate facebook marketplace posts. But i'm struggling to upload pictures to it.I already locate the element. When i click the element it will show the 'box' showing the file manager so...
View ArticleMocha + Selenium timeout exceeded
I'm trying to run mocha with selenium on a project created with Create react app.When I try to run a test, I get this error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is...
View ArticleHow to organize strings from Selenium in Pandas Dataframe?
**I am trying to extract data from whatsapp chatroom, but i am having trouble to send the data to a dataframe.The code i have is:**chatroom = driver.find_element_by_class_name('_1_q7u') pos= 0 df =...
View Article