Tag: approbotic

AppRobotic Process Automation | RPA

How to click a link with Selenium WebDriver using Python?

Clicking on a website link with Selenium WebDriver is a two-step process: 1) Locate the link element on the webpage 2) Click on the located link using Selenium’s ‘click’ method Python Code: import win32com.client x = win32com.client.Dispatch(“AppRobotic.API”) from selenium import webdriver # navigate to Yahoo driver = webdriver.Firefox() driver.get(‘https://www.yahoo.com’) # sleep 1 second x.Wait(1000) link…
Read more


0

How do I find a particular link on a page with Selenium and Python?

When searching for a particular link on a page, it’s easy to store the link elements in a List, and then loop through it until you find a match: Python Code import win32com.client x = win32com.client.Dispatch(“AppRobotic.API”) from selenium import webdriver from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.common.by import By # navigate to Yahoo driver = webdriver.Firefox()…
Read more


0

How to complete login forms on Instagram using Selenium WebDriver and Python?

While attempting to log into Instagram using Selenium the traditional way, if you’re unable to fill in the login fields, it’s necessary to make a couple of tweaks as the Login form is done in ReactJS. Python code for Selenium WebDriver leveraged with AppRobotic Personal Edition below:   Python Code: import win32com.client x = win32com.client.Dispatch(“AppRobotic.API”)…
Read more


0

How to accept security certificates while using Selenium?

To accept untrusted website security certificates while automating with Selenium, it’s possible to set a particular option on the driver that you’re using (Firefox, Chrome, IE). Most recently, this option is called ‘acceptInsecureCerts‘, however it doesn’t always work, particularly on newer versions of IE and Firefox. If you run into this issue with newer browser…
Read more


0