【发布时间】:2015-12-16 07:17:01
【问题描述】:
2) 弹出窗口显示输入电子邮件地址进行注册。
3) 由于它不是弹出窗口,我无法导航到窗口
我尝试使用警报、javascriptexecutor 和窗口句柄但不起作用。有没有人建议如何处理它?
【问题讨论】:
-
根据百思买政策,
Unless we separately give you permission, you may not copy, scrape, frame, modify, remove, delete, augment, add to, publish, transmit, participate in the transfer or sale, lease or rental of, create derivative works from, or in any way exploit any of the Content, in whole or in part.所以你不应该抓取他们的网站。将此问题标记为删除。 -
它是一个模态弹出窗口。它不需要任何 switchTo()。只需添加
.implicitlyWait(推荐)或 sleep
标签: java selenium selenium-webdriver