|
1 |
| -dotnet_library(name = "dotnet", |
2 |
| - srcs = "src/WebDriver/**/*.cs", |
3 |
| - refs = [ |
4 |
| - "System.dll", |
5 |
| - "System.Core.dll", |
6 |
| - "System.Data.dll", |
7 |
| - "System.Drawing.dll", |
8 |
| - "System.Xml.dll" |
9 |
| - ], |
10 |
| - merge_refs = [ |
11 |
| - "third_party/dotnet/json-net-4.5r11/net40/Newtonsoft.Json.dll", |
12 |
| - "third_party/dotnet/dotnetzip-1.9/Ionic.Zip.dll" |
13 |
| - ], |
14 |
| - resources = [ |
15 |
| - {"//javascript/firefox-driver:webdriver" : "WebDriver.FirefoxExt.zip"}, |
16 |
| - {"//cpp:noblur" : "WebDriver.FirefoxNoFocus.x86.dll"}, |
17 |
| - {"//cpp:noblur64" : "WebDriver.FirefoxNoFocus.x64.dll"}, |
18 |
| - {"javascript/safari-driver/prebuilt/SafariDriver.safariextz" : "WebDriver.SafariExtension"} |
19 |
| - ], |
20 |
| - framework_ver = "net40", |
21 |
| - out = "WebDriver.dll" |
22 |
| -) |
23 |
| - |
24 |
| -dotnet_library(name = "dotnet35", |
25 |
| - srcs = "src/WebDriver/**/*.cs", |
26 |
| - refs = [ |
27 |
| - "System.dll", |
28 |
| - "System.Core.dll", |
29 |
| - "System.Data.dll", |
30 |
| - "System.Drawing.dll", |
31 |
| - "System.Xml.dll" |
32 |
| - ], |
33 |
| - merge_refs = [ |
34 |
| - "third_party/dotnet/json-net-4.5r11/net35/Newtonsoft.Json.dll", |
35 |
| - "third_party/dotnet/dotnetzip-1.9/Ionic.Zip.dll" |
36 |
| - ], |
37 |
| - resources = [ |
38 |
| - {"//javascript/firefox-driver:webdriver" : "WebDriver.FirefoxExt.zip"}, |
39 |
| - {"//cpp:noblur" : "WebDriver.FirefoxNoFocus.x86.dll"}, |
40 |
| - {"//cpp:noblur64" : "WebDriver.FirefoxNoFocus.x64.dll"} |
41 |
| - ], |
42 |
| - framework_ver = "net35", |
43 |
| - out = "WebDriver.dll" |
44 |
| -) |
45 |
| - |
46 |
| -dotnet_package(name = "dotnet-package", |
47 |
| - packageid = "Selenium.WebDriver", |
48 |
| - deps = [ |
49 |
| - ":dotnet", |
50 |
| - ":dotnet35" |
51 |
| - ], |
52 |
| - title = "Selenium WebDriver", |
53 |
| - summary = ".NET bindings for the Selenium WebDriver API", |
54 |
| - description = "Selenium is a set of different software tools each with a different approach to supporting browser automation. These tools are highly flexible, allowing many options for locating and manipulating elements within a browser, and one of its key features is the support for automating multiple browser platforms. This package contains the .NET bindings for the newer, more concise and object-based Selenium WebDriver API, which uses native OS-level events to manipulate the browser, bypassing the JavaScript sandbox, and does not require the Selenium Server to automate the browser.", |
55 |
| - tags = "Selenium WebDriver browser automation", |
56 |
| - assemblies = [ |
57 |
| - {"System.Drawing" : ""} |
58 |
| - ] |
59 |
| -) |
60 |
| - |
61 |
| -dotnet_library(name = "support", |
62 |
| - srcs = "src/WebDriver.Support/**/*.cs", |
63 |
| - refs = [ |
64 |
| - "System.dll", |
65 |
| - "System.Core.dll", |
66 |
| - "System.Data.dll", |
67 |
| - "System.Drawing.dll", |
68 |
| - "System.Xml.dll", |
69 |
| - ":dotnet" |
70 |
| - ], |
71 |
| - framework_ver = "net40", |
72 |
| - out = "WebDriver.Support.dll" |
73 |
| -) |
74 |
| - |
75 |
| -dotnet_library(name = "support35", |
76 |
| - srcs = "src/WebDriver.Support/**/*.cs", |
77 |
| - refs = [ |
78 |
| - "System.dll", |
79 |
| - "System.Core.dll", |
80 |
| - "System.Data.dll", |
81 |
| - "System.Drawing.dll", |
82 |
| - "System.Xml.dll", |
83 |
| - ":dotnet35" |
84 |
| - ], |
85 |
| - framework_ver = "net35", |
86 |
| - out = "WebDriver.Support.dll" |
87 |
| -) |
88 |
| - |
89 |
| -dotnet_package(name = "support-package", |
90 |
| - packageid = "Selenium.Support", |
| 1 | +dotnet_release(name = "release_strongnamed", |
91 | 2 | deps = [
|
92 |
| - ":support", |
93 |
| - ":support35" |
94 |
| - ], |
95 |
| - title = "Selenium WebDriver Support Classes", |
96 |
| - summary = "Support classes for the .NET bindings of the Selenium WebDriver API", |
97 |
| - description = "Selenium is a set of different software tools each with a different approach to supporting browser automation. These tools are highly flexible, allowing many options for locating and manipulating elements within a browser, and one of its key features is the support for automating multiple browser platforms. This package contains .NET support classes for the Selenium WebDriver API, which includes helper classes for HTML Select elements, waiting for conditions, and Page Object creation.", |
98 |
| - tags = "Selenium WebDriver browser automation support", |
99 |
| - packagedeps = [ |
100 |
| - {":dotnet-package" : ""} |
101 |
| - ], |
102 |
| - assemblies = [ |
103 |
| - {"System.Drawing" : ""} |
104 |
| - ] |
105 |
| -) |
106 |
| - |
107 |
| -dotnet_library(name = "core", |
108 |
| - srcs = "src/Selenium.Core/**/*.cs", |
109 |
| - refs = [ |
110 |
| - "System.dll", |
111 |
| - "System.Core.dll", |
112 |
| - "System.Data.dll", |
113 |
| - "System.Xml.dll", |
114 |
| - "System.Web.dll" |
115 |
| - ], |
116 |
| - framework_ver = "net40", |
117 |
| - out = "ThoughtWorks.Selenium.Core.dll" |
118 |
| -) |
119 |
| - |
120 |
| -dotnet_library(name = "core35", |
121 |
| - srcs = "src/Selenium.Core/**/*.cs", |
122 |
| - refs = [ |
123 |
| - "System.dll", |
124 |
| - "System.Core.dll", |
125 |
| - "System.Data.dll", |
126 |
| - "System.Xml.dll", |
127 |
| - "System.Web.dll" |
128 |
| - ], |
129 |
| - framework_ver = "net35", |
130 |
| - out = "ThoughtWorks.Selenium.Core.dll" |
131 |
| -) |
132 |
| - |
133 |
| -dotnet_package(name = "core-package", |
134 |
| - packageid = "Selenium.RC", |
135 |
| - deps = [ |
136 |
| - ":core", |
137 |
| - ":core35" |
138 |
| - ], |
139 |
| - title = "Selenium Remote Control (RC)", |
140 |
| - summary = ".NET bindings for the Selenium RC API", |
141 |
| - description = "Selenium is a set of different software tools each with a different approach to supporting browser automation. These tools are highly flexible, allowing many options for locating and manipulating elements within a browser, and one of its key features is the support for automating multiple browser platforms. This package contains the .NET bindings for the older, more procedural Selenium Remote Control (or Selenium RC) API. It requires a running instance of the Selenium Server, and uses JavaScript for automating the browser, which means it is limited to the functionality available from within the JavaScript sandbox.", |
142 |
| - tags = "Selenium remote control RC browser automation", |
143 |
| - assemblies = [ |
144 |
| - {"System.Drawing" : ""} |
145 |
| - ] |
146 |
| -) |
147 |
| - |
148 |
| -dotnet_library(name = "webdriverbackedselenium", |
149 |
| - srcs = "src/Selenium.WebdriverBackedSelenium/**/*.cs", |
150 |
| - refs = [ |
151 |
| - "System.dll", |
152 |
| - "System.Core.dll", |
153 |
| - "System.Data.dll", |
154 |
| - "System.Drawing.dll", |
155 |
| - "System.Xml.dll", |
156 |
| - "System.Web.dll", |
157 |
| - ":dotnet", |
158 |
| - ":core" |
159 |
| - ], |
160 |
| - resources = [ |
161 |
| - {"java/client/src/org/openqa/selenium/internal/seleniumemulation/injectableSelenium.js" : "injectableSelenium.js"}, |
162 |
| - {"java/client/src/org/openqa/selenium/internal/seleniumemulation/htmlutils.js" : "htmlutils.js"}, |
163 |
| - {"//javascript/selenium-atoms:findElement" : "findElement.js" }, |
164 |
| - {"//javascript/selenium-atoms:findOption" : "findOption.js" }, |
165 |
| - {"//javascript/selenium-atoms:fireEvent" : "fireEvent.js" }, |
166 |
| - {"//javascript/selenium-atoms:fireEventAt" : "fireEventAt.js" }, |
167 |
| - {"//javascript/selenium-atoms:getAttribute" : "getAttribute.js" }, |
168 |
| - {"//javascript/selenium-atoms:getText" : "getText.js" }, |
169 |
| - {"//javascript/selenium-atoms:linkLocator" : "linkLocator.js" }, |
170 |
| - {"//javascript/selenium-atoms:isElementPresent" : "isElementPresent.js" }, |
171 |
| - {"//javascript/selenium-atoms:isSomethingSelected" : "isSomethingSelected.js" }, |
172 |
| - {"//javascript/selenium-atoms:isTextPresent" : "isTextPresent.js" }, |
173 |
| - {"//javascript/selenium-atoms:isVisible" : "isVisible.js" }, |
174 |
| - {"//javascript/selenium-atoms:type" : "type.js" } |
175 |
| - ], |
176 |
| - framework_ver = "net40", |
177 |
| - out = "Selenium.WebDriverBackedSelenium.dll" |
178 |
| -) |
179 |
| - |
180 |
| -dotnet_library(name = "webdriverbackedselenium35", |
181 |
| - srcs = "src/Selenium.WebdriverBackedSelenium/**/*.cs", |
182 |
| - refs = [ |
183 |
| - "System.dll", |
184 |
| - "System.Core.dll", |
185 |
| - "System.Data.dll", |
186 |
| - "System.Drawing.dll", |
187 |
| - "System.Xml.dll", |
188 |
| - "System.Web.dll", |
189 |
| - ":dotnet35", |
190 |
| - ":core35" |
191 |
| - ], |
192 |
| - resources = [ |
193 |
| - {"java/client/src/org/openqa/selenium/internal/seleniumemulation/injectableSelenium.js" : "injectableSelenium.js"}, |
194 |
| - {"java/client/src/org/openqa/selenium/internal/seleniumemulation/htmlutils.js" : "htmlutils.js"}, |
195 |
| - {"//javascript/selenium-atoms:findElement" : "findElement.js" }, |
196 |
| - {"//javascript/selenium-atoms:findOption" : "findOption.js" }, |
197 |
| - {"//javascript/selenium-atoms:fireEvent" : "fireEvent.js" }, |
198 |
| - {"//javascript/selenium-atoms:fireEventAt" : "fireEventAt.js" }, |
199 |
| - {"//javascript/selenium-atoms:getAttribute" : "getAttribute.js" }, |
200 |
| - {"//javascript/selenium-atoms:getText" : "getText.js" }, |
201 |
| - {"//javascript/selenium-atoms:linkLocator" : "linkLocator.js" }, |
202 |
| - {"//javascript/selenium-atoms:isElementPresent" : "isElementPresent.js" }, |
203 |
| - {"//javascript/selenium-atoms:isSomethingSelected" : "isSomethingSelected.js" }, |
204 |
| - {"//javascript/selenium-atoms:isTextPresent" : "isTextPresent.js" }, |
205 |
| - {"//javascript/selenium-atoms:isVisible" : "isVisible.js" }, |
206 |
| - {"//javascript/selenium-atoms:type" : "type.js" } |
207 |
| - ], |
208 |
| - framework_ver = "net35", |
209 |
| - out = "Selenium.WebDriverBackedSelenium.dll" |
210 |
| -) |
211 |
| - |
212 |
| -dotnet_package(name = "webdriverbackedselenium-package", |
213 |
| - packageid = "Selenium.WebDriverBackedSelenium", |
214 |
| - deps = [ |
215 |
| - ":webdriverbackedselenium", |
216 |
| - ":webdriverbackedselenium35" |
217 |
| - ], |
218 |
| - title = "WebDriver-backed Selenium", |
219 |
| - summary = "Implementation of the Selenium Remote Control (RC) API, using WebDriver technology", |
220 |
| - description = "Selenium is a set of different software tools each with a different approach to supporting browser automation. These tools are highly flexible, allowing many options for locating and manipulating elements within a browser, and one of its key features is the support for automating multiple browser platforms. This package contains the .NET bindings for the older, more procedural Selenium Remote Control (or Selenium RC) API, but implemented using the newer WebDriver technology. It does not require a running instance of the Selenium Server, and is not limited to the functionality available from within the JavaScript sandbox. It is intended as a transitional package to allow organizations with significant investment in the Selenium RC API to run their code with minimal modifications until they are able to migrate to the newer Selenium WebDriver API.", |
221 |
| - tags = "Selenium WebDriver remote control RC browser automation", |
222 |
| - packagedeps = [ |
223 |
| - {":dotnet-package" : ""}, |
224 |
| - {":core-package" : ""} |
225 |
| - ], |
226 |
| - assemblies = [ |
227 |
| - {"System.Drawing" : ""} |
228 |
| - ] |
229 |
| -) |
230 |
| - |
231 |
| -dotnet_docs(name = "docs", |
232 |
| - srcs = [ |
233 |
| - ":dotnet", |
234 |
| - ":support", |
235 |
| - ":core", |
236 |
| - ":webdriverbackedselenium" |
| 3 | + "//dotnet/src/webdriver:strongnamed", |
| 4 | + "//dotnet/src/support:strongnamed", |
| 5 | + "//dotnet/src/core:strongnamed", |
| 6 | + "//dotnet/src/webdriverbackedselenium:strongnamed", |
| 7 | + "//dotnet/src/webdriver:strongnamed35", |
| 8 | + "//dotnet/src/support:strongnamed35", |
| 9 | + "//dotnet/src/core:strongnamed35", |
| 10 | + "//dotnet/src/webdriverbackedselenium:strongnamed35" |
237 | 11 | ],
|
238 |
| - project = "docgen/docs.shfbproj", |
239 |
| - website = "build/docs/dotnet/web", |
240 |
| - helpfile = "WebDriver.chm", |
241 |
| - out = "build/dotnet/WebDriver.chm" |
| 12 | + desc = "Strong-named .NET assemblies for Selenium, including the RC and WebDriver APIs. Not recommended for most users.", |
| 13 | + featured = "false", |
| 14 | + signed = "true", |
| 15 | + out = "selenium-dotnet-strongnamed.zip" |
242 | 16 | )
|
243 | 17 |
|
244 | 18 | dotnet_release(name = "release",
|
245 | 19 | deps = [
|
246 |
| - ":dotnet-package", |
247 |
| - ":support-package", |
248 |
| - ":core-package", |
249 |
| - ":webdriverbackedselenium-package", |
250 |
| - ":docs" |
| 20 | + "//dotnet/src/webdriver:package", |
| 21 | + "//dotnet/src/support:package", |
| 22 | + "//dotnet/src/core:package", |
| 23 | + "//dotnet/src/webdriverbackedselenium:package", |
| 24 | + "//dotnet/docs:docs" |
251 | 25 | ],
|
252 | 26 | desc = ".NET bindings for Selenium, including the RC and WebDriver APIs.",
|
253 | 27 | featured = "true",
|
|
0 commit comments