Skip to content

Commit b22b031

Browse files
authored
chore: add a few new caps in the standard (#1175)
* chore: add a few new caps in the standard * skip bidi
1 parent f61c059 commit b22b031

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

appium/options/common/base.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ class AppiumOptions(
5555
'setWindowRect',
5656
'timeouts',
5757
'unhandledPromptBehavior',
58+
'strictFileInteractability', # WebDriver spec v2 https://www.w3.org/TR/webdriver2/
59+
'userAgent', # WebDriver spec v2 https://www.w3.org/TR/webdriver2/
60+
'webSocketUrl', # WebDriver BiDi
5861
]
5962
)
6063
_OSS_W3C_CONVERSION = {

test/functional/android/bidi_tests.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,13 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
import pytest
1516
from selenium.webdriver.common.bidi.common import command_builder
1617

1718
from appium import webdriver
1819
from appium.options.common import AppiumOptions
1920
from appium.webdriver.client_config import AppiumClientConfig
21+
from test.functional.test_helper import is_ci
2022
from test.helpers.constants import SERVER_URL_BASE
2123

2224
from .helper.desired_capabilities import get_desired_capabilities
@@ -62,6 +64,7 @@ def setup_method(self) -> None:
6264
def teardown_method(self) -> None:
6365
self.driver.quit()
6466

67+
@pytest.mark.skipif(is_ci(), reason='Flaky on CI')
6568
def test_bidi_log(self) -> None:
6669
log_entries = []
6770
bidi_log_param = {'events': ['log.entryAdded'], 'contexts': ['NATIVE_APP']}

0 commit comments

Comments
 (0)