gpt4 book ai didi

selenium-ide - 如何使用 selenium IDE 获取 URL?

转载 作者:行者123 更新时间:2023-12-05 00:58:10 25 4
gpt4 key购买 nike

我上网查了一下,没有找到答案我正在尝试将 URL 存储在变量中。找到几个不起作用的答案

  1. ${!url}应该带上网站的只读网址
  2. "StoreLocation"应该存储 URL 并且在 IDE 中不存在
  3. storeEval应该存储 URL 并且在 IDE 中不存在

最佳答案

作为引用,这是 Selenium IDE 中的样子

enter image description here enter image description here

然后您可以断言结果是给定值,如下所示:

enter image description here

这里还有一些更有用的信息 - https://www.selenium.dev/selenium-ide/

关于selenium-ide - 如何使用 selenium IDE 获取 URL?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58569078/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com