forked from SeleniumHQ/selenium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.desc
88 lines (71 loc) · 1.98 KB
/
build.desc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
js_deps(name = "deps",
srcs = [ "*.js" ],
deps = [
"//javascript/atoms:deps",
"//javascript/webdriver/atoms:deps",
])
js_binary(name = "selenium-atoms",
deps = [
":deps",
],
out = "build/javascript/selenium-atoms/selenium-atoms.js",
flags = [
"--define=goog.NATIVE_ARRAY_PROTOTYPES=false",
])
js_test(name = "test",
srcs = [
"test/*_test.html",
],
deps = [
":deps",
"//java/client/test/org/openqa/selenium/javascript",
"//java/server/test/org/openqa/selenium:server-with-tests:uber",
])
js_fragment(name = "findElement",
module = "core.locators",
function = "core.locators.findElement",
srcs = [":deps"])
js_fragment(name = "findOption",
module = "core.select.option",
function = "core.select.option.findOption",
srcs = [":deps"])
js_fragment(name = "fireEvent",
module = "core.events",
function = "core.events.fire",
srcs = [":deps"])
js_fragment(name = "fireEventAt",
module = "core.events",
function = "core.events.fireAt",
srcs = [":deps"])
js_fragment(name = "getAttribute",
module = "core.element",
function = "core.element.getAttribute",
srcs = [":deps"])
js_fragment(name = "getText",
module = "core.text.getText",
function = "core.text.getText",
srcs = [":deps"])
js_fragment(name = "linkLocator",
module = "core.text",
function = "core.text.linkLocator",
srcs = [":deps"])
js_fragment(name = "isSomethingSelected",
module = "core.select",
function = "core.select.isSomethingSelected",
srcs = [":deps"])
js_fragment(name = "isElementPresent",
module = "core.locators",
function = "core.locators.isElementPresent",
srcs = [":deps"])
js_fragment(name = "isTextPresent",
module = "core.text",
function = "core.text.isTextPresent",
srcs = [":deps"])
js_fragment(name = "isVisible",
module = "core.browserbot",
function = "core.browserbot.isVisible",
srcs = [":deps"])
js_fragment(name = "type",
module = "core.events",
function = "core.events.setValue",
srcs = [":deps"])