Skip to content

Instantly share code, notes, and snippets.

2020-04-06 17:37:45:437 - [debug] [XCUITest] Executing command 'findElement'
2020-04-06 17:37:45:438 - [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id
2020-04-06 17:37:45:438 - [debug] [BaseDriver] Waiting up to 0 ms for condition
2020-04-06 17:37:45:440 - [debug] [WD Proxy] Matched '/element' to command name 'findElement'
2020-04-06 17:37:45:440 - [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8100/session/A4F13D50-B23E-4187-ADD3-DAA013356453/element] with body: {"using":"name","value":"ON AIR"}
2020-04-06 17:37:46:707 - [debug] [WD Proxy] Got response with status 200: {"value":{"ELEMENT":"8D000000-0000-0000-2B93-000000000000","element-6066-11e4-a52e-4f735466cecf":"8D000000-0000-0000-2B93-000000000000"},"sessionId":"A4F13D50-B23E-4187-ADD3-DAA013356453"}
2020-04-06 17:37:46:708 - [debug] [W3C (38b1ea4f)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4
@tking16
tking16 / amazon-search.rb
Created November 23, 2015 16:23
Amazon search for eloquent ruby task
require 'selenium-webdriver'
browse = Selenium::WebDriver.for :firefox
browse.get "http://amazon.co.uk"
search = browse.find_element name: "field-keywords"
search.send_keys "Eloquent Ruby"
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace TheoKingEuroMoneyTest
{
public partial class WebForm1 : System.Web.UI.Page