-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Alejandro Atance Fernandez edited this page Feb 25, 2019
·
22 revisions
The NBZ was launched to provide a framework to automate web browsers to scrap or test any web page, based on selenium webdriver. This provides the user a higher level layer and a simpler way to create web testing scripts. Also, browsermob-proxy is implemented as proxy into NBZ to capture http requests.
NBZ is configured with nbz scripts.
IMPORTANT: Whenever you want to test into your own browser how a web page behaves to code your script, you must do it into incognito mode. Each script session is executed as if it were incognito mode, a totally new instance of the browser, cache, cookies, local storage and session storage.
- The launcher is the nbz.sh file - Options:- <b>-h</b>: Show this help
- <b>-v</b>: Show the current version
- <b>-s</b>: Set the .nbz script
- <b>-x</b>: Enable screen emulation (server) / hide browser screen (desktop)
- <b>-d</b>: Enable debug mode; it is disabled by default
<b>$></b> ./nbz.sh -s /path/to/my_script.nbz
<b>$></b> ./nbz.sh -xs /path/to/my_script.nbz (-x is necesary to run it on server without graphic interface, or hide the browser window if it has graphic interface)
- Scripts must have .nbz extension.
Feel free to improve or suggest anything about this software.
Coding guideline
-
Languaje Features
-
Expression operators
-
Built-in functions
-
Sniffering functions
-
Advanced functions