从 Firefox 中打开 Selenium IDE 的默认键盘快捷键是什么
我确信这已记录在明显的地方,但我就是找不到它。
我目前正在使用工具栏按钮在 Firefox 和 Selenium 之间来回切换,但必须使用鼠标,速度慢得令人烦恼。
I'm sure this is documented somewhere obvious, but I just can't find it.
I'm currently switching back and forth between Firefox and Selenium using a toolbar button, but it's annoyingly slow to keep having to use the mouse.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我不知道是否有默认的键盘快捷键,但我按以下顺序
打开工具子菜单,然后“n”打开或切换到硒
I don't know if there's a default keyboard shortcut but i press the following sequence
Which opens the tools sub menu, and then "n" opens or switches to selenium
答案是按住 CTRL ALT S
The answer is to hold down CTRL ALT S
我能够破解一个存在,所以如果你觉得舒服的话你也可以这样做。
在我使用的版本(1.4.1)中打开“chrome\content\selenium-ide-overlay.xul”
靠近底部有这样的代码:
这意味着它已经存在,他们只是出于某种原因将其注释掉。
我取出了注释,并将侧边栏命令替换为上面的命令,因此它像平常一样有自己的窗口
一旦刷新浏览器,我就可以使用 ctrl-alt-F11 来调出 selenium。 (从“key”到“keycode”的更改允许您使用不可打印的键,因此如果您希望它包含可打印的字符,请保留它“key”;您可以从以下位置获取键码:
https://developer.mozilla.org/en/XUL_Tutorial/Keyboard_Shortcuts#Keycode_attribute
请注意,“accel”键因平台而异(也在上面的链接中进行了解释)
I was able to hack one into existence, so you can do this if you are comfortable with it.
In the version I'm using (1.4.1) open "chrome\content\selenium-ide-overlay.xul"
Near the bottom there is this code:
Which means it already is there, they've just commented it out for some reason.
I took out the comments and replaced the sidebar command with one from above so it has its own window like normal
Once I've refreshed the browser I can use ctrl-alt-F11 to bring up selenium. (the change from 'key' to 'keycode' lets you use non-printable keys, so keep it 'key' if you want it to br a printable character; you can get the keycodes from:
https://developer.mozilla.org/en/XUL_Tutorial/Keyboard_Shortcuts#Keycode_attribute
Note the 'accel' key differs from platform to platform (also explained in the link above)