summaryrefslogtreecommitdiff
path: root/tests/unit/browser/webkit/test_webkitelem.py
AgeCommit message (Collapse)Author
2022-01-04Use flake8-pytest-stylepytest-styleFlorian Bruhin
2021-12-03Add more webelement selector unit testsFlorian Bruhin
2021-03-18pylint: Disable pointless-statement in testsFlorian Bruhin
2021-01-26doc: Switch URLs to httpsFlorian Bruhin
2021-01-20Bump copyright yearsFlorian Bruhin
Closes #6015
2021-01-13dataclasses: Adjust import orderFlorian Bruhin
See #6023
2021-01-13dataclasses: Initial switchFlorian Bruhin
See #6023
2020-08-24Avoid trailing backslashes in docstringsFlorian Bruhin
See https://github.com/PyCQA/pydocstyle/issues/502
2020-07-16Add underscoresFlorian Bruhin
2020-07-16Add a unit test for contenteditable handlingFlorian Bruhin
2020-07-16webkitelem: Fix patching of is_content_editable_propFlorian Bruhin
"mocker" isn't usable as a context manager (anymore?), and since elem._elem is a mock object already, we can just configure that.
2020-07-16webkitelem: Add self._check_vanished() for is_content_editable_propFlorian Bruhin
2020-07-16Merge remote-tracking branch 'origin/pr/4722'Florian Bruhin
2020-01-04Adjust copyrights for 2020Florian Bruhin
2019-04-17Add contenteditable to inputsJay Kamat
2019-04-02Remove unnecessary setattrFlorian Bruhin
2019-02-22Update copyright for 2019Jay Kamat
2018-12-15Fix lint/test issueFlorian Bruhin
2018-10-08Add tabindex to default 'all' selectorFlorian Bruhin
See #178
2018-10-08Merge remote-tracking branch 'origin/pr/3806' into testFlorian Bruhin
2018-09-27Fix webkitelem testsFlorian Bruhin
2018-07-05Fix accidentally renamed hint groupOlmo Kramer
2018-07-04Add hints.selectors settingOlmo Kramer
2018-06-07Revert "Fix Qt 5.11 issues with clicking invalid links"Florian Bruhin
This reverts commit 1956590df84a72c7f9a516e805d01529291fccf8. Turns out the actual issue wasn't due to *invalid* links - it's with links which have an unknown scheme. There's still a change in behavior between Qt 5.10 and 5.11 though: Invalid links are apparently not passed to acceptNavigationRequest (sometimes?) so we don't show an error message. Instead, we just load about:blank. However, Chromium does that too and we can't handle a real click easily, so let's just ignore that one. See #3661
2018-06-07Fix Qt 5.11 issues with clicking invalid linksFlorian Bruhin
See #3661
2018-02-05Update copyright yearsFlorian Bruhin
2017-12-01Fix webkitelem test.Ryan Roden-Corrent
Now that it checks tab.is_deleted we need to mock that.
2017-10-31pylint: Turn off some more too-many-* stuff globallyFlorian Bruhin
Humans are just better at judging what's okay here than a machine.
2017-10-20Set backend in TestRectOnView.test_zoomedFlorian Bruhin
2017-09-19Start using attrsFlorian Bruhin
Closes #1073
2017-07-04Update some more references to old config optionsFlorian Bruhin
2017-07-04Various simple test updates for new configFlorian Bruhin
test_cache test_cookies test_webkitelem test_cmdutils test_runners test_completionwidget test_messageview test_editor test_miscwidgets test_sessions test_urlutils test_utils test_prompt statusbar/test_* test_cmdhistory test_tabwidget test_tab test_downloads test_networkmanager
2017-05-23tests: Use match= for pytest.raisesFlorian Bruhin
2017-05-23tests: Use pytest.paramFlorian Bruhin
2017-05-12Fix webkitelem testsFlorian Bruhin
2017-05-12Remove webelem.Group.prevnextFlorian Bruhin
Apart from checking for buttons with an href attribute (which made no sense at all and should never return any element) this was identical to webelem.Group.links.
2017-05-12Get rid of webelem.FILTERSFlorian Bruhin
There's actually no good reason to filter javascript links as we might want to click them (or copy their URL) just like any other link - this fixes #2404. With that being gone, we don't need FILTERS at all anymore, as we can check for existence of the href attribute in the CSS selector instead.
2017-05-09Finally update copyrights...Florian Bruhin
2017-03-01Remove webelem.style_property()Florian Bruhin
It's not used anymore, and not possible to support with QtWebEngine without a massive performance hit when serializing elements.
2017-03-01Use three-argument form of monkeypatch.*attrFlorian Bruhin
2017-02-25Fix lintFlorian Bruhin
2017-02-24Fix test_webkitelemFlorian Bruhin
2016-11-16Fix test_webkitelemFlorian Bruhin
2016-09-07Make WebKitElement._is_visible privateFlorian Bruhin
It makes a lot of sense for this to be in webkitelem.py, but it should not be public API as it's only used internally and can't be implemented here with QtWebEngine.
2016-09-07Get rid of WebElement.debug_textFlorian Bruhin
2016-09-07Add check_vanished() in webkitelem.insert_textFlorian Bruhin
2016-09-07Get rid of webelem.run_js_asyncFlorian Bruhin
2016-09-07Get rid of webkitelem.focus_elemFlorian Bruhin
2016-09-05Make unittests work without QtWebKitFlorian Bruhin
2016-08-18Add webelem.click() and webelem.hover()Florian Bruhin