This repository has been archived by the owner on May 22, 2018. It is now read-only.
forked from SeleniumHQ/selenium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-arrange build.desc files so shared js_fragment definitions are pul…
…led out into their own namespace. Also moving the fragments that only depend upon //javascript/atoms under that tree.
- Loading branch information
Showing
11 changed files
with
513 additions
and
505 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,38 @@ | ||
js_fragment_java(name = "atoms", | ||
deps = [ | ||
"//javascript/webdriver/atoms:execute_async_script:android", | ||
"//javascript/webdriver/atoms:execute_script:android", | ||
"//javascript/webdriver/atoms/inject:active_element:android", | ||
"//javascript/webdriver/atoms/inject:clear:android", | ||
"//javascript/webdriver/atoms/inject:clear_local_storage:android", | ||
"//javascript/webdriver/atoms/inject:clear_session_storage:android", | ||
"//javascript/webdriver/atoms/inject:click:android", | ||
"//javascript/webdriver/atoms/inject:default_content:android", | ||
"//javascript/webdriver/atoms/inject:find_element:android", | ||
"//javascript/webdriver/atoms/inject:find_elements:android", | ||
"//javascript/webdriver/atoms/inject:frame_by_id_or_name:android", | ||
"//javascript/webdriver/atoms/inject:frame_by_index:android", | ||
"//javascript/webdriver/atoms/inject:get_attribute_value:android", | ||
"//javascript/webdriver/atoms/inject:get_frame_window:android", | ||
"//javascript/webdriver/atoms/inject:get_local_storage_item:android", | ||
"//javascript/webdriver/atoms/inject:get_local_storage_keys:android", | ||
"//javascript/webdriver/atoms/inject:get_local_storage_size:android", | ||
"//javascript/webdriver/atoms/inject:get_session_storage_item:android", | ||
"//javascript/webdriver/atoms/inject:get_session_storage_keys:android", | ||
"//javascript/webdriver/atoms/inject:get_session_storage_size:android", | ||
"//javascript/webdriver/atoms/inject:get_size:android", | ||
"//javascript/webdriver/atoms/inject:get_text:android", | ||
"//javascript/webdriver/atoms/inject:get_top_left_coordinates:android", | ||
"//javascript/webdriver/atoms/inject:get_value_of_css_property:android", | ||
"//javascript/webdriver/atoms/inject:is_displayed:android", | ||
"//javascript/webdriver/atoms/inject:is_enabled:android", | ||
"//javascript/webdriver/atoms/inject:is_selected:android", | ||
"//javascript/webdriver/atoms/inject:remove_local_storage_item:android", | ||
"//javascript/webdriver/atoms/inject:remove_session_storage_item:android", | ||
"//javascript/webdriver/atoms/inject:set_local_storage_item:android", | ||
"//javascript/webdriver/atoms/inject:set_session_storage_item:android", | ||
"//javascript/webdriver/atoms/inject:submit:android", | ||
"//javascript/webdriver/atoms/inject:get_appcache_status:android", | ||
"//javascript/atoms/fragments:execute_async_script:android", | ||
"//javascript/atoms/fragments:execute_script:android", | ||
"//javascript/webdriver/atoms/fragments/inject:active_element:android", | ||
"//javascript/webdriver/atoms/fragments/inject:clear:android", | ||
"//javascript/webdriver/atoms/fragments/inject:clear_local_storage:android", | ||
"//javascript/webdriver/atoms/fragments/inject:clear_session_storage:android", | ||
"//javascript/webdriver/atoms/fragments/inject:click:android", | ||
"//javascript/webdriver/atoms/fragments/inject:default_content:android", | ||
"//javascript/webdriver/atoms/fragments/inject:find_element:android", | ||
"//javascript/webdriver/atoms/fragments/inject:find_elements:android", | ||
"//javascript/webdriver/atoms/fragments/inject:frame_by_id_or_name:android", | ||
"//javascript/webdriver/atoms/fragments/inject:frame_by_index:android", | ||
"//javascript/webdriver/atoms/fragments/inject:get_attribute_value:android", | ||
"//javascript/webdriver/atoms/fragments/inject:get_frame_window:android", | ||
"//javascript/webdriver/atoms/fragments/inject:get_local_storage_item:android", | ||
"//javascript/webdriver/atoms/fragments/inject:get_local_storage_keys:android", | ||
"//javascript/webdriver/atoms/fragments/inject:get_local_storage_size:android", | ||
"//javascript/webdriver/atoms/fragments/inject:get_session_storage_item:android", | ||
"//javascript/webdriver/atoms/fragments/inject:get_session_storage_keys:android", | ||
"//javascript/webdriver/atoms/fragments/inject:get_session_storage_size:android", | ||
"//javascript/webdriver/atoms/fragments/inject:get_size:android", | ||
"//javascript/webdriver/atoms/fragments/inject:get_text:android", | ||
"//javascript/webdriver/atoms/fragments/inject:get_top_left_coordinates:android", | ||
"//javascript/webdriver/atoms/fragments/inject:get_value_of_css_property:android", | ||
"//javascript/webdriver/atoms/fragments/inject:is_displayed:android", | ||
"//javascript/webdriver/atoms/fragments/inject:is_enabled:android", | ||
"//javascript/webdriver/atoms/fragments/inject:is_selected:android", | ||
"//javascript/webdriver/atoms/fragments/inject:remove_local_storage_item:android", | ||
"//javascript/webdriver/atoms/fragments/inject:remove_session_storage_item:android", | ||
"//javascript/webdriver/atoms/fragments/inject:set_local_storage_item:android", | ||
"//javascript/webdriver/atoms/fragments/inject:set_session_storage_item:android", | ||
"//javascript/webdriver/atoms/fragments/inject:submit:android", | ||
"//javascript/webdriver/atoms/fragments/inject:get_appcache_status:android", | ||
], | ||
utf8 = "true", | ||
package = "org.openqa.selenium.android.library") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,137 @@ | ||
js_fragment( | ||
name = "clear", | ||
function = "bot.action.clear", | ||
module = "bot.action", | ||
deps = [ "//javascript/atoms:all_js" ]) | ||
|
||
js_fragment( | ||
name = "click", | ||
function = "bot.action.click", | ||
module = "bot.action", | ||
deps = [ "//javascript/atoms:all_js" ]) | ||
|
||
js_fragment( | ||
name = "execute_script", | ||
function = "bot.inject.executeScript", | ||
module = "bot.inject", | ||
deps = [ "//javascript/atoms:all_js" ]) | ||
|
||
js_fragment( | ||
name = "execute_async_script", | ||
function = "bot.inject.executeAsyncScript", | ||
module = "bot.inject", | ||
deps = [ "//javascript/atoms:all_js" ]) | ||
|
||
js_fragment( | ||
name = "find_element", | ||
function = "bot.locators.findElement", | ||
module = "bot.locators", | ||
deps = [ "//javascript/atoms:all_js" ]) | ||
|
||
js_fragment( | ||
name = "find_elements", | ||
function = "bot.locators.findElements", | ||
module = "bot.locators", | ||
deps = [ "//javascript/atoms:all_js" ]) | ||
|
||
js_fragment( | ||
name = "get_effective_style", | ||
function = "bot.dom.getEffectiveStyle", | ||
module = "bot.dom", | ||
deps = [ "//javascript/atoms:all_js" ]) | ||
|
||
js_fragment( | ||
name = "get_location", | ||
function = "goog.style.getPageOffset", | ||
module = "goog.style", | ||
deps = [ "//javascript/atoms:all_js" ]) | ||
|
||
js_fragment( | ||
name = "get_size", | ||
function = "goog.style.getSize", | ||
module = "goog.style", | ||
deps = [ "//javascript/atoms:all_js" ]) | ||
|
||
js_fragment( | ||
name = "is_displayed", | ||
function = "bot.dom.isShown", | ||
module = "bot.dom", | ||
deps = [ "//javascript/atoms:all_js" ]) | ||
|
||
js_fragment( | ||
name = "is_editable", | ||
function = "bot.dom.isEditable", | ||
module = "bot.dom", | ||
deps = [ "//javascript/atoms:all_js" ]) | ||
|
||
js_fragment( | ||
name = "is_enabled", | ||
function = "bot.dom.isEnabled", | ||
module = "bot.dom", | ||
deps = [ "//javascript/atoms:all_js" ]) | ||
|
||
js_fragment( | ||
name = "is_interactable", | ||
function = "bot.dom.isInteractable", | ||
module = "bot.dom", | ||
deps = [ "//javascript/atoms:all_js" ]) | ||
|
||
js_fragment( | ||
name = "submit", | ||
function = "bot.action.submit", | ||
module = "bot.action", | ||
deps = [ "//javascript/atoms:all_js" ]) | ||
|
||
js_fragment( | ||
name = "type", | ||
function = "bot.action.type", | ||
module = "bot.action", | ||
deps = [ "//javascript/atoms:all_js" ]) | ||
|
||
js_fragment( | ||
name = "get_frame_index", | ||
function = "bot.frame.getFrameIndex", | ||
module = "bot.frame", | ||
deps = [ "//javascript/atoms:all_js" ]) | ||
|
||
js_fragment( | ||
name = "get_window_size", | ||
function = "bot.window.getSize", | ||
module = "bot.window", | ||
deps = [ "//javascript/atoms:all_js" ]) | ||
|
||
js_fragment( | ||
name = "set_window_size", | ||
function = "bot.window.setSize", | ||
module = "bot.window", | ||
deps = [ "//javascript/atoms:all_js" ]) | ||
|
||
js_fragment( | ||
name = "get_window_position", | ||
function = "bot.window.getPosition", | ||
module = "bot.window", | ||
deps = [ "//javascript/atoms:all_js" ]) | ||
|
||
js_fragment( | ||
name = "set_window_position", | ||
function = "bot.window.setPosition", | ||
module = "bot.window", | ||
deps = [ "//javascript/atoms:all_js" ]) | ||
|
||
js_fragment( | ||
name = "is_online", | ||
function = "bot.connection.isOnline", | ||
module = "bot.connection", | ||
deps = [ "//javascript/atoms:all_js" ]) | ||
|
||
js_fragment( | ||
name = "get_current_position", | ||
function = "bot.geolocation.getCurrentPosition", | ||
module = "bot.geolocation", | ||
deps = [ "//javascript/atoms:all_js" ]) | ||
|
||
js_fragment( | ||
name = "execute_sql", | ||
function = "bot.storage.database.executeSql", | ||
module = "bot.storage.database", | ||
deps = [ "//javascript/atoms:all_js" ]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.