Message from discussion
Selenium2Library and css selector
Received: by 10.66.90.37 with SMTP id bt5mr4399979pab.40.1352149274764;
Mon, 05 Nov 2012 13:01:14 -0800 (PST)
X-BeenThere: robotframework-users@googlegroups.com
Received: by 10.68.75.70 with SMTP id a6ls25595767pbw.5.gmail; Mon, 05 Nov
2012 13:01:13 -0800 (PST)
Received: by 10.68.242.74 with SMTP id wo10mr2572776pbc.9.1352149273855;
Mon, 05 Nov 2012 13:01:13 -0800 (PST)
Date: Mon, 5 Nov 2012 13:01:12 -0800 (PST)
From: "Kevin O." <kormb...@gmail.com>
To: robotframework-users@googlegroups.com
Cc: elc.le...@gmail.com
Message-Id: <7c79d86d-dc52-4bc6-97a3-cd5b62030666@googlegroups.com>
In-Reply-To: <5097CD79.3050107@gmail.com>
References: <28982985-cfd8-41e5-9f29-48c762f03030@googlegroups.com> <062ece03-b2ca-4f7a-a975-d617281fbee4@googlegroups.com>
<5097CD79.3050107@gmail.com>
Subject: Re: Selenium2Library and css selector
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_540_28155841.1352149272732"
------=_Part_540_28155841.1352149272732
Content-Type: multipart/alternative;
boundary="----=_Part_541_30627984.1352149272732"
------=_Part_541_30627984.1352149272732
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Learning CSS selectors is on my to do list.
For you second issue I'm fairly certain you can use XPath.
Try xpath=//p[contains(text(), 'foobar')]
------=_Part_541_30627984.1352149272732
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit
Learning CSS selectors is on my to do list.<div>For you second issue I'm fairly certain you can use XPath.</div><div>Try xpath=//p[contains(text(), 'foobar')]<br><br></div>
------=_Part_541_30627984.1352149272732--
------=_Part_540_28155841.1352149272732--