def test_null_parameter_value(session, http, inline): session.url = inline("<input>") element = session.find.css("input", all=False) path = "/session/{session_id}/element/{element_id}/value".format( session_id=session.session_id, element_id=element.id) with http.post(path, None) as response: assert_error(Response.from_http(response), "invalid argument")
def test_null_parameter_value(session, http, inline): session.url = inline("<div><a href=# id=linkText>full link text</a></div>") element = session.find.css("div", all=False) path = "/session/{session_id}/element/{element_id}/element".format( session_id=session.session_id, element_id=element.id) with http.post(path, None) as response: assert_error(Response.from_http(response), "invalid argument")
def test_null_parameter_value(session, http): session.url = inline("<div><a href=# id=linkText>full link text</a></div>") element = session.find.css("div", all=False) path = "/session/{session_id}/element/{element_id}/elements".format( session_id=session.session_id, element_id=element.id) with http.post(path, None) as response: assert_error(Response.from_http(response), "invalid argument")
def test_null_parameter_value(session, http): session.url = inline("<input>") element = session.find.css("input", all=False) path = "/session/{session_id}/element/{element_id}/value".format( session_id=session.session_id, element_id=element.id) with http.post(path, None) as response: assert_error(Response.from_http(response), "invalid argument")
def test_null_parameter_value(session, http, inline): session.url = inline("<div><a href=# id=linkText>full link text</a></div>") custom_element = session.find.css("custom-shadow-element", all=False) shadow_root = custom_element.shadow_root path = "/session/{session_id}/shadow/{shadow_id}/elements".format( session_id=session.session_id, shadow_id=shadow_root.id) with http.post(path, None) as response: assert_error(Response.from_http(response), "invalid argument")
def test_null_parameter_value(session, http): path = "/session/{session_id}/alert/text".format(**vars(session)) with http.post(path, None) as response: assert_error(Response.from_http(response), "invalid argument")
def test_null_parameter_value(session, http): path = "/session/{session_id}/alert/text".format(**vars(session)) with http.post(path, None) as response: assert_error(Response.from_http(response), "invalid argument")