@@ -119,10 +119,10 @@ closure_js_library(
119119 deps = [
120120 ":bot" ,
121121 ":color" ,
122+ ":css" ,
122123 ":domcore" ,
123124 ":json" ,
124125 ":useragent" ,
125- ":xpath" ,
126126 "@io_bazel_rules_closure//closure/library" ,
127127 ],
128128)
@@ -239,7 +239,7 @@ closure_js_library(
239239 name = "locators" ,
240240 srcs = glob (
241241 ["locators/*.js" ],
242- exclude = ["locators/xpath .js" ],
242+ exclude = ["locators/css .js" ],
243243 ),
244244 suppress = [
245245 "JSC_IMPLICITLY_NULLABLE_JSDOC" ,
@@ -250,11 +250,12 @@ closure_js_library(
250250 ],
251251 deps = [
252252 ":bot" ,
253+ ":css" ,
253254 ":dom" ,
254255 ":errors" ,
255256 ":json" ,
256257 ":useragent" ,
257- ":xpath " ,
258+ "//third_party/js/wgxpath " ,
258259 "@io_bazel_rules_closure//closure/library" ,
259260 ],
260261)
@@ -289,8 +290,8 @@ closure_js_library(
289290)
290291
291292closure_js_library (
292- name = "xpath " ,
293- srcs = ["locators/xpath .js" ],
293+ name = "css " ,
294+ srcs = ["locators/css .js" ],
294295 suppress = [
295296 "JSC_IMPLICITLY_NULLABLE_JSDOC" ,
296297 "JSC_STRICT_INEXISTENT_PROPERTY" ,
@@ -300,7 +301,7 @@ closure_js_library(
300301 deps = [
301302 ":bot" ,
302303 ":errors" ,
303- "//third_party/js/wgxpath " ,
304+ ":useragent " ,
304305 "@io_bazel_rules_closure//closure/library" ,
305306 ],
306307)
@@ -331,6 +332,7 @@ closure_js_deps(
331332 ":action" ,
332333 ":bot" ,
333334 ":color" ,
335+ ":css" ,
334336 ":devices" ,
335337 ":dom" ,
336338 ":domcore" ,
@@ -343,7 +345,6 @@ closure_js_deps(
343345 ":test_util" ,
344346 ":useragent" ,
345347 ":window" ,
346- ":xpath" ,
347348 ],
348349)
349350
0 commit comments