How to get cryptocurrency prices using Python (and various tools)

Here's another post based on a question from Quora: Can I export the contents of an HTML table to Excel or MySQL via Selenium/Python? No, you can’t export a table from HTML to Excel or MySQL using Selenium with Python. But you’re in luck! You just asked the wrong question. It’s like if you had … Continue reading How to get cryptocurrency prices using Python (and various tools)

When should you use JavaScriptExecutor in Selenium?

When you want to execute JavaScript on the browser :) This was my answer to a question on Quora https://www.quora.com/When-should-I-use-JavaScriptExecutor-in-Selenium-WebDriver/answer/Aaron-Evans JavaScriptExecutor is an interface that defines 2 methods: in Java (and similarly in C#): Object executeScript(String script, Object... args) and Object executeAsyncScript(String script, Object... args) which take as an argument a string representing the JavaScript … Continue reading When should you use JavaScriptExecutor in Selenium?

Scheduling tests to monitor websites

If you have access to your crontab you can set a Selenium script to run periodically. If you don’t have cron, you can use a VM (with Vagrant) or Container (with Docker) to get it. Cron is available on Linux & Unix systems. On Windows, you can use Task Scheduler. On Mac, there is launchd, … Continue reading Scheduling tests to monitor websites

Weekly Wednesday Webinar on Selenium & Sauce Labs

I've been working at Sauce Labs for a while now, helping enterprise users build test automation frameworks and implement continuous integration using Selenium & Sauce Labs. In order to reach a larger audience -- and to learn more about people's challenges developing test automation -- I'm going to be hosting a weekly webinar on using … Continue reading Weekly Wednesday Webinar on Selenium & Sauce Labs