summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/mozilla/tests/webdriver/classic/new_session/create.py
blob: 9649b938ade3ee2314116e50451ae344e10a3dd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
# META: timeout=long
from tests.support.asserts import assert_success


def test_valid_content_type(new_session, configuration):
    headers = {"content-type": "application/json"}
    response, _ = new_session(
        {"capabilities": {"alwaysMatch": dict(configuration["capabilities"])}},
        headers=headers,
    )
    assert_success(response)