Hello,
In our internal project we execute this command under chrome console :
window.open(“services://services/space/user1”)
This command execute Javascript under chrome and “sevices” is our internal protocole
Please, how can I execute this command under Robotframework Browser Library.
How to handle DOM in “Browser Library” ?
Hello
1- let me see if i got your first issue :
you are used to execute this command “window.open(“services://services/space/user1”)” manually , and now you are trying to automate this step ?
2- Could you explain more your issue here : How to handle DOM in “Browser Library” ?
you mean you want to make some actions / assertion ? : then you can rely on the Browser library’s keywords like Click, Fill Text, Get Text, Wait For Elements State, etc.
@normus You can use the Evaluate JavaScript keyword for this. For your case the keyword would look like this: Evaluate JavaScript ${None} window.open(“services://services/space/user1”)