Selenium WebDriver

时间:2018-12-18 15:33:21

标签: ruby selenium-webdriver

[Selenium WebDriver的Ruby脚本构建错误]

require 'rubygems'
require 'selenium-webdriver'

driver = Selenium::Webdriver.for :chrome
driver.navigate.to "https://www.linkedin.com/"
puts "Linkedin rede de profissionais"

错误消息:

uninitialized constant Selenium::Webdriver (NameError) Did you mean? Selenium::WebDriver

1 个答案:

答案 0 :(得分:2)

好像您在这里有错字,只是在我的IDE上检查过,它应该是大写D:

$stmt = $conn->prepare( "insert into blogs1(title,description,created,fk_u) 
                  values(?,?,NOW(),?)");

$stmt->bind_param("ssi", $title,$desc,$id);

看看是否有帮助