Skip to content

WebEvents

Avrigeanu Laurian edited this page Sep 5, 2022 · 13 revisions

The WebEvents class contains two types of actions, activities or methods, depending on your background:

  • JavaScript.
  • Selenium.

The WebEvents class is specialized only from Web Interactions and nothing else (as the name implies).

To be able to use this class, you will need to know how to write your own XPaths, however, I recommend you as a helper tool SelectorsHub Chrome extension as training wheels, there is also this tutorial you can find here that can teach you everything you need to know about XPaths: https://www.w3schools.com/xml/xpath_intro.asp.

ActionJs

This subclass contains all of the methods that interact with the browser in Javascript.

They are very agile and powerful and I recommend you use them only as a last resort.

Don't use a chainsaw to cut salmon.

Clone this wiki locally