RPA-Python
RPA-Python copied to clipboard
How to navigate to previous page without visual automation - use dom()
Hi, how do I navigate forward and backwards on the browser without visual automation? Thanks
Try below (not at laptop now to validate). Below uses dom() to send JavaScript code to browser to run.
r.dom('window.history.back()') r.dom('window.history.forward()')
Tagging @kompleksanda
Closing issue for now but let me know if above doesn't work. I think some online sources even omit the window base keyword and just use history.back()
Thanks Kensoh!