九色国产,午夜在线视频,新黄色网址,九九色综合,天天做夜夜做久久做狠狠,天天躁夜夜躁狠狠躁2021a,久久不卡一区二区三区

打開APP
userphoto
未登錄

開通VIP,暢享免費電子書等14項超值服

開通VIP
selenium2 navigate()

Navigation: History and Location

Earlier, we covered navigating to a page using the “get” command( driver.get("http://www.example.com")) As you’veseen, WebDriver has a number of smaller, task-focused interfaces,and navigation is a useful task. Because loading a page is such afundamental requirement, the method to do this lives on the mainWebDriver interface, but it’s simply a synonym to:

driver.navigate().to("http://www.example.com");

To reiterate: “navigate().to()” and “get()” do exactlythe same thing. One’s just a lot easier to type than the other!

The “navigate” interface also exposes the ability to movebackwards and forwards in your browser’s history:

driver.navigate().forward();driver.navigate().back();

Please be aware that this functionality depends entirely on theunderlying browser. It’s just possible that something unexpectedmay happen when you call these methods if you’re used to thebehaviour of one browser over another.

本站僅提供存儲服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點擊舉報。
打開APP,閱讀全文并永久保存 查看更多類似文章
猜你喜歡
類似文章
Selenium-Webdriver系列教程(二)————瀏覽器的簡單操作
網(wǎng)頁內(nèi)容獲取
Nan Han's Realty ONE Group
iup.webbrowser Lua
CDHtmlDialog 如何捕獲網(wǎng)頁打開失敗的消息
Intellij-IDEA2016_Opeation
更多類似文章 >>
生活服務(wù)
熱點新聞
分享 收藏 導(dǎo)長圖 關(guān)注 下載文章
綁定賬號成功
后續(xù)可登錄賬號暢享VIP特權(quán)!
如果VIP功能使用有故障,
可點擊這里聯(lián)系客服!

聯(lián)系客服