Ai
2 Star 0 Fork 0

chromium_develop/chromium_third_party_webdriver

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
README.chromium 1.72 KB
一键复制 编辑 原始数据 按行查看 历史
李想 提交于 2022-08-16 16:26 +08:00 . chromium origin init
Name: Webdriver
Short Name: selenium
URL: http://selenium.googlecode.com/svn/trunk/py
Version: unknown
Revision: 18456
Security Critical: no
License: Apache 2, MIT and GPL v2
License File: NOT_SHIPPED
Description:
WebDriver is a clean, fast framework for automated testing of webapps.
Contents:
pylib/
Python bindings and tests for WebDriver pulled in via DEPS.
atoms.h, atoms.cc
These atoms are generated by the webdriver team and are to be checked in
manually. The current version was generated from revision
ec9202eceb8b8e334ceee76e4670154c1aaf89a6.
Generating the atoms require a build tool named Bazel. Download it
from https://bazel.build/.
To generate the atoms using the code found in selenium tree:
$ git clone https://github.com/SeleniumHQ/selenium.git
$ cd selenium
$ git apply <chromium_dir>/src/third_party/webdriver/patch.diff
$ bazel build javascript/chrome-driver/...
$ cp bazel-bin/javascript/chrome-driver/atoms.h \
<chromium_dir>/src/third_party/webdriver/atoms.h
$ cp bazel-bin/javascript/chrome-driver/atoms.cc \
<chromium_dir>/src/third_party/webdriver/atoms.cc
The atoms.h/cc files are only used directly in the chrome version of
webdriver found under the path src/chrome/test/chromedriver.
bazel-bin is a symlink. To find files within the selenium folder, add -L
$ find -L . -name atoms.h
If the patch.diff fails to apply, rerun with --reject. Review the output and
manually merge the failed changes. Regenerate the patch when finished:
$ git diff > <chromium_dir>/src/third_party/webdriver/patch.diff
Local Modifications:
- Applied changes in patch.diff to the selenium tree prior to building the atoms.
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/chromium_develop/chromium_third_party_webdriver.git
git@gitee.com:chromium_develop/chromium_third_party_webdriver.git
chromium_develop
chromium_third_party_webdriver
chromium_third_party_webdriver
master

搜索帮助