简体   繁体   English

如何在 RubyMine 上设置 Selenium webdriver?

[英]How do I setup Selenium webdriver on RubyMine?

I have to learn how to user Selenium Webdriver in RubyMine I have no idea how to install Selenium gem.我必须学习如何在 RubyMine 中使用 Selenium Webdriver 我不知道如何安装 Selenium gem。 I have downloaded Selenium gem, but what is next?我已经下载了 Selenium gem,但下一步是什么? how do I install or bind to my RubyMine IDE?如何安装或绑定到我的 RubyMine IDE? I used to work a lot with Java, Ruby and RubyMine is completely new tools for me.我曾经经常使用 Java、Ruby,而 RubyMine 对我来说是全新的工具。 Thanks in advance提前致谢

I found it!我找到了! simple type command in command line gem install selenium-webdriver命令行中的简单类型命令gem install selenium-webdriver

RubyMine is an IDE. RubyMine 是一个 IDE。 Selenium Webdriver is a gem. Selenium Webdriver 是一个宝石。 When you write your Ruby code, you will have a require of the selenium webdriver gem.当您编写 Ruby 代码时,您将需要 selenium webdriver gem。 On your system, you will need to have the Selenium gem installed.在您的系统上,您需要安装 Selenium gem。

See the following URL for more information.有关详细信息,请参阅以下 URL。 It does matter which web browser you intend to be running Selenium against.您打算针对哪个 Web 浏览器运行 Selenium 很重要。

https://github.com/SeleniumHQ/selenium/wiki/Ruby-Bindings https://github.com/SeleniumHQ/selenium/wiki/Ruby-Bindings

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在RubyMine中查找自定义方法? - How do I lookup custom methods in RubyMine? 如何在Chromium中使用Ruby gem selenium-webdriver? - How do I use Ruby gem selenium-webdriver with Chromium? 如何在无头 Chrome 上使用 Selenium Webdriver? - How do I use Selenium Webdriver on headless Chrome? 如何使用Selenium webdriver在Capybara中打开一个新窗口? - How do I open a new window in Capybara with Selenium webdriver? 如何在 ruby​​ 中使用 Selenium WebDriver (selenium 2.0) 客户端将选项设置为选定的选项 - How do I set an option as selected using Selenium WebDriver (selenium 2.0) client in ruby 如何在Rails环境中的RubyMine或IDEA中运行临时文件? - How do I run scratch file in RubyMine or IDEA in Rails environment? 如何在RubyMine上向外部库添加gem? - How do I add gems to my external libraries on RubyMine? 如何忽略Rubymine中待处理的rspec测试? - How do I ignore pending rspec tests in Rubymine? 如何找到与Selenium :: WebDriver :: Element对应的Capybara :: Node :: Element - How do I find Capybara::Node::Element that corresponds to Selenium::WebDriver::Element 如何从命令中将Selenium Webdriver(Ruby绑定)测试结果打印到记事本文件? - How do I print Selenium Webdriver (Ruby binding) test results to a notepad file from command?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM