Library for remote chrome browser on robot framework
MIT License
Library for remote chrome browser
This keyword library is based on Robot Framework. In my experience in developing automation test cases, every time we want to check the specific action, we may run the whole test script but it also wastes a lot of time.
So this library provides a keyword Debug::Execute On Opened Browser
that can keep running the test scripts on the same browser.
Using pip
pip install mpjp-debuggingLibrary
Open remote chrome browser
Setting the location of chrome browser as environmental variables
Create an empty folder at C:\testChrome
Input the command below
chrome.exe --remote-debugging-port=9014 --user-data-dir="C:\testChrome"
9014 is port, you can change any port you want. - C:\testChrome location can change to any folder you want to set chrome data.
The clean chrome browser should be opened.
Open remote chrome browser then go to google
page.
Run the test case below :
*** Settings ***
Library SeleniumLibrary
Library DebuggingLibrary #import library
*** Test Cases ***
Search Robot Framework On Google
Debug::Execute On Opened Browser ##
Input Text name=q Robot Framework
Press Key name=q \\13
Page Should Contain Robot Framework