mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:07:36 +00:00
Browser+WebContent+WebDriver: Move Get Element Text to WebContent
This commit is contained in:
parent
06f1b8825c
commit
5d32fd7026
16 changed files with 22 additions and 62 deletions
|
@ -611,10 +611,6 @@ void BrowserWindow::create_new_tab(URL url, bool activate)
|
|||
active_tab().view().scroll_element_into_view(element_id);
|
||||
};
|
||||
|
||||
new_tab.webdriver_endpoints().on_get_element_text = [this](i32 element_id) {
|
||||
return active_tab().view().get_element_text(element_id);
|
||||
};
|
||||
|
||||
new_tab.webdriver_endpoints().on_get_element_tag_name = [this](i32 element_id) {
|
||||
return active_tab().view().get_element_tag_name(element_id);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue