mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:07:45 +00:00
Browser+WebContent+WebDriver: Move Is Element Enabled to WebContent
This commit is contained in:
parent
30d6a73d0e
commit
93e14799c5
16 changed files with 29 additions and 70 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_is_element_enabled = [this](i32 element_id) {
|
||||
return active_tab().view().is_element_enabled(element_id);
|
||||
};
|
||||
|
||||
new_tab.webdriver_endpoints().on_serialize_source = [this]() {
|
||||
return active_tab().view().serialize_source();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue