Build a bot using Selenium WebDriver with Ruby

Oh deer, someone is faster than you
Our bot.rb file
On line 8, we send a custom string of “TSLA” to the input field
Running our bot.rb file
From the Developer pane, we can see the Login button is a link
From the Developer Tools, right click on the element, select Copy, Copy Xpath
After we signed up, we navigate back to the homepage

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Creating an App that Connects Driving Directions and Weather Data

Build and push docker image to Docker hub

How Do Hackathons Work?

The New System

Continuous Design and how to enable it

A n illustration of how a dynamic loop between inspection, feedback, design and code can work cyclically.

MapStruct — Advanced Concepts and Dependency Injection

The Story Behind Random.Seed(42) In Machine Learning

Definition of Done — The What,Why and practically use it for creating engineering marvels

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
James JingChao Yu

James JingChao Yu

More from Medium

Speech Recognition using python— Build a talking Chatbot with Python and have a conversation with…

An Introduction to NPM

Handling file upload in selenium

Easy deployment for your Python code with Anvil as frontend and PythonAnywhere as backend