mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
precommit
This commit is contained in:
parent
781eee2901
commit
7ef9dcc7bd
3 changed files with 3 additions and 3 deletions
|
|
@ -39,7 +39,7 @@
|
|||
const bannerEl = document.querySelector('aside.md-banner');
|
||||
let defaultContent = [{ "content" : 'Need premium support ? <a style="text-decoration:underline; color : white;" href="https://panel.bunkerweb.io/?utm_campaign=self&utm_source=doc">Check BunkerWeb Panel</a>'},
|
||||
{ "content" : 'Try BunkerWeb on our <a style="text-decoration:underline; color : white;" href="https://demo.bunkerweb.io/link/?utm_campaign=self&utm_source=doc">demo web app !</a>'},
|
||||
{ "content" : 'All informations about BunkerWeb on our <a style="text-decoration:underline; color : white;" href="https://www.bunkerweb.io/?utm_campaign=self&utm_source=doc">website !</a>'}
|
||||
{ "content" : 'All information about BunkerWeb on our <a style="text-decoration:underline; color : white;" href="https://www.bunkerweb.io/?utm_campaign=self&utm_source=doc">website !</a>'}
|
||||
]
|
||||
|
||||
function setBannerStyle() {
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ init_worker_by_lua_block {
|
|||
return
|
||||
elseif is_loading == "yes" then
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
logger:log(INFO, "init_workers phase started")
|
||||
|
||||
|
|
|
|||
|
|
@ -113,7 +113,7 @@ def access_page(driver, button: Union[bool, str, WebElement], name: str, message
|
|||
|
||||
try:
|
||||
if not isinstance(button, bool) and not clicked:
|
||||
= clicked = assert_button_click(driver, button)
|
||||
clicked = assert_button_click(driver, button)
|
||||
|
||||
title: Union[WebElement, List[WebElement]] = safe_get_element(driver, By.XPATH, "/html/body/div[3]/header/div/nav/h6", driver_wait=WebDriverWait(driver, 45))
|
||||
assert isinstance(title, WebElement), "Title is not a WebElement"
|
||||
|
|
|
|||
Loading…
Reference in a new issue