robotframework-jupyterlibrary
robotframework-jupyterlibrary copied to clipboard
How to get elements
my company uses JupyterLab to provide example code as well as a terminal, I am trying to automate the running of these examples and enter commands in the terminal. I have written a very simple test so far just opening the JupyterLab site and if I try to use inspect to get the elements it doesn't work mainly because I am in JupyterLab
I guess I don't quite understand what element you are trying to select. In most browsers, you can use f12 to open developer tools, and then use a "picker" to select the element you want, or failing that, the "elements" tree tab keyboard arrows to pick specific elements, even though lab disables right click in most places.
If you are asking about interacting with the terminal: it is implemented in a canvas element, and I don't have an approach yet for working with it in robot. PRs welcome! Some research is still required to figure out how to work with it. Luckily, lab and notebook classic use the same library (xterm.js) so there shouldn't be too much extra work, but it will likely be as complicated as the codemirror keywords.
On Tue, Oct 1, 2019, 12:53 William Flow [email protected] wrote:
my company uses JupyterLab to provide example code as well as a terminal, I am trying to automate the running of these examples and enter commands in the terminal. I have written a very simple test so far just opening the JupyterLab site and if I try to use inspect to get the elements it doesn't work mainly because I am in JupyterLab
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/robots-from-jupyter/robotframework-jupyterlibrary/issues/18?email_source=notifications&email_token=AAALCRDFNCL32LAMCHGCVJTQMN6BJA5CNFSM4I4MEXH2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HO47KSQ, or mute the thread https://github.com/notifications/unsubscribe-auth/AAALCRA246PGO3QKE4VGWSTQMN6BJANCNFSM4I4MEXHQ .