Insert javascript in the IE-URL (non-QUERTY-Layout)
Hi there,
first: Sikuli is great! Thank you for support and developement!
My problem:
I am testing web sites with a lot of fields and need some shortcuts for navigating. I don't want to take a Screenshot of every field. To make things easier I wanted to use JavaScript to navigating to certain fields. So I tried this script:
keyDown(Key.CTRL)
type("l")
keyUp(Key.CTRL)
type('javascrip
This leads to an exception because of the colon in my non-QUERTY-
paste('
This would work if the Internet Explorer would not cut of the part "javascript:" when pasting in the URL :( the result of pasting this line is only "alert(
If there was a Key.POS1 this would work:
keyDown(Key.CTRL)
type("l")
keyUp(Key.CTRL)
paste(':')
paste('
keyDown(Key.CTRL)
type(Key.POS1)
keyUp(Key.CTRL)
type('javascript')
Unfortunatly there is no Key.POS1 and I can not "type" a colon.
Any suggestions?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply: