Iakiv Kramarenko
Iakiv Kramarenko
So... Seems like we can't just simply add something like `browser.actions` ```python class Browser(WaitingEntity): # ... @property def actions(self) -> ActionChains: """ It's kind of just a shortcut for pretty...
selenide alternative: https://github.com/selenide/selenide/blob/ab2dae36099517306285b01b2651e1dcb92a15c4/src/main/java/com/codeborne/selenide/SelenideDriver.java#L185
Selene is kind of "test as humans use"-tool, not "as driver operates"-tools. That's why I prefer more user-oriented naming, to make tests code as much readable and obvious as possible....
@SergeyPirogov yeah, now it like this... but only because the "screenshots" part was hardcoded in selene.config: ```python _default_folder = os.path.join(os.path.expanduser('~'), '.selene', 'screenshots', str(next(counter))) reports_folder = env(SELENE_REPORTS_FOLDER, _default_folder) ``` but we...
This is of course great feature. But currently, there are many other features of higher priority:) One day, we can implement this too. @paulakimenko In meantime, can you please list...
If this would be interested for anybody... So far I am using the following workaround: ``` java public static void assertElementIsDisplayed(WebElement element, boolean expectedIsDisplayed) { //get '@FindBy' locator from the...
Thid is a test: ``` java public class TempTest { @Test public void test(){ class GooglePage { private WebDriver driver; @FindBy(name = ".gbqfif.WRONG") WebElement myWebElement; GooglePage(WebDriver driver) { this.driver =...
It was just an example) But your example is out of the scope of this ticket. This ticket is about custom selector strategy inside a string, not outside). That's why...
You might ask, why didn't we have config.click_by_js till now? Because making all clicks js based is not a "normal case". You might need to speed up all "set value"...
This will also work: ``` from selene.api import browser, s new_style_value = 'right: 100500%;' s('locator').execute_script('element.setAttribute("style",arguments[0])', new_style_value) ``` Maybe we also can add an extra command to allow user something like:...