????Selenium Grid + Selenium RC + Webdriver
???????????? ???????[ 2013/12/25 16:18:23 ] ??????????????? ???????
??????C:UsersireneAppDataLocalGoogleChromeApplication?????????????????PATH??
??????Selenium RC???Grib Hub?У????????????IE
java -jar selenium-server-standalone-2.39.0.jar -role node -hub http://192.168.88.183:4444/register -browser browserName="internet explorer" naxInstance=1??platform=WINDOWS
??????Selenium RC???Grib Hub?У????????????Firefox
java -jar selenium-server-standalone-2.39.0.jar -role node -hub http://192.168.88.183:4444/register -browser browserName="firefox" naxInstance=1??platform=WINDOWS
??????Selenium RC???Grib Hub?У????????????Chrome
java -jar selenium-server-standalone-2.39.0.jar -role node -hub http://192.168.88.183:4444/register -browser browserName="chrome" naxInstance=1??platform=WINDOWS
????5??Selenium RC?????(??Grid Hub????????)
??????Selenium RC???Grib Hub?У????????????Firefox
java -jar selenium-server-standalone-2.39.0.jar -role node -hub http://localhost:4444/register -browser browserName="firefox" naxInstance=1??platform=LINUX
??????Selenium RC???Grib Hub?У????????????Chrome
java -jar selenium-server-standalone-2.39.0.jar -role node -hub http://localhost:4444/register -browser browserName="chrome" naxInstance=1??platform=LINUX
????6????????
from selenium import webdriver
from selenium.webdriver.remote.command import Command
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities
browser = webdriver.Remote('http://192.168.88.183:4444/wd/hub'?? DesiredCapabilities.FIREFOX)
browser.get("http://www.baidu.com")
browser.find_element_by_name("wd").send_keys("scutech")
browser.find_element_by_id("su").click()
browser.quit()
|
????7????????н???Selenium Grid ??Selenium RC????????Hub????????RC?????ж????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11