@Test
public void test() throws JSONException {
String data = "[ \n" + "{ \n" + "\"email\": \"octocat@github.com\",\n"
+ "\"primary\": true,\n" + "\"verified\": true,\n"
+ "\"visibility\": \"private\" \n" + "}\n" + "]";
JSONArray result = new JSONArray(data);
System.err.println("json test: " + result);
}
# Selenium 4.x calling method semantics
driver.find_element(By.CLASS_NAME,'omlet-bar-login-button')
element = driver.find_element_by_class_name("omlet-bar-login-button")
print('{}'.format(element.get_attribute('innerHTML') )
Log in / Sign Up
cmd нет