<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Selenium gotcha &#8211; selenium.GetHtmlSource() returns processed HTML</title>
	<atom:link href="http://davidlaing.com/2008/12/29/selenium-gotcha-seleniumgethtmlsource-returns-processed-html/feed/" rel="self" type="application/rss+xml" />
	<link>http://davidlaing.com/2008/12/29/selenium-gotcha-seleniumgethtmlsource-returns-processed-html/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=selenium-gotcha-seleniumgethtmlsource-returns-processed-html</link>
	<description>David Laing&#039;s thoughts on software development</description>
	<lastBuildDate>Tue, 07 Feb 2012 02:14:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Demelza</title>
		<link>http://davidlaing.com/2008/12/29/selenium-gotcha-seleniumgethtmlsource-returns-processed-html/#comment-39</link>
		<dc:creator>Demelza</dc:creator>
		<pubDate>Sun, 24 Apr 2011 08:39:49 +0000</pubDate>
		<guid isPermaLink="false">http://davidlaing.com/?p=142#comment-39</guid>
		<description>Stands back from the keyboard in aamezenmt! Thanks!</description>
		<content:encoded><![CDATA[<p>Stands back from the keyboard in aamezenmt! Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sky</title>
		<link>http://davidlaing.com/2008/12/29/selenium-gotcha-seleniumgethtmlsource-returns-processed-html/#comment-10</link>
		<dc:creator>sky</dc:creator>
		<pubDate>Thu, 07 Oct 2010 09:09:21 +0000</pubDate>
		<guid isPermaLink="false">http://davidlaing.com/?p=142#comment-10</guid>
		<description>You might also notice that some browsers, FF in particular, strip comments from javascript.

This behavior bit me in the rear a few years ago while writing some javascript code generation libraries that used comments as meta data.</description>
		<content:encoded><![CDATA[<p>You might also notice that some browsers, FF in particular, strip comments from javascript.</p>
<p>This behavior bit me in the rear a few years ago while writing some javascript code generation libraries that used comments as meta data.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mrdavidlaing</title>
		<link>http://davidlaing.com/2008/12/29/selenium-gotcha-seleniumgethtmlsource-returns-processed-html/#comment-9</link>
		<dc:creator>mrdavidlaing</dc:creator>
		<pubDate>Mon, 22 Feb 2010 12:15:15 +0000</pubDate>
		<guid isPermaLink="false">http://davidlaing.com/?p=142#comment-9</guid>
		<description>@Naveet,

Best I can suggest is to do multiple searches - once for tag (SUREHITS), then again for first attribute (sid=&quot;navneet...) and again for next attribute etc.</description>
		<content:encoded><![CDATA[<p>@Naveet,</p>
<p>Best I can suggest is to do multiple searches &#8211; once for tag (SUREHITS), then again for first attribute (sid=&#8221;navneet&#8230;) and again for next attribute etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: navneet</title>
		<link>http://davidlaing.com/2008/12/29/selenium-gotcha-seleniumgethtmlsource-returns-processed-html/#comment-8</link>
		<dc:creator>navneet</dc:creator>
		<pubDate>Mon, 22 Feb 2010 06:40:01 +0000</pubDate>
		<guid isPermaLink="false">http://davidlaing.com/?p=142#comment-8</guid>
		<description>Firefox 3.5.7 and IE 7
1)	Using view source mannualy (right click --&gt; view source)
	Orignal on Firefox :&lt;surehits account=&quot;167644&quot; sid=&quot;navneet_12_17_Fast&quot; /&gt;
	Orignal on IE      :&lt;surehits account=&quot;167644&quot; sid=&quot;navneet_12_17_Fast&quot; /&gt;

	After selenium.GetHtmlSource();
	In Firefox	:&lt;surehits account=&quot;167644&quot; sid=&quot;navneet_12_17_Fast&quot; /&gt;
	IN IE		:&lt;SUREHITS sid=&quot;navneet_12_17_Fast&quot; account=&quot;167644&quot; /&gt;</description>
		<content:encoded><![CDATA[<p>Firefox 3.5.7 and IE 7<br />
1)	Using view source mannualy (right click &#8211;&gt; view source)<br />
	Orignal on Firefox :&lt;surehits account=&#8221;167644&#8243; sid=&#8221;navneet_12_17_Fast&#8221; /&gt;<br />
	Orignal on IE      :&lt;surehits account=&#8221;167644&#8243; sid=&#8221;navneet_12_17_Fast&#8221; /&gt;</p>
<p>	After selenium.GetHtmlSource();<br />
	In Firefox	:&lt;surehits account=&#8221;167644&#8243; sid=&#8221;navneet_12_17_Fast&#8221; /&gt;<br />
	IN IE		:&lt;SUREHITS sid=&#8221;navneet_12_17_Fast&#8221; account=&#8221;167644&#8243; /&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: navneet</title>
		<link>http://davidlaing.com/2008/12/29/selenium-gotcha-seleniumgethtmlsource-returns-processed-html/#comment-7</link>
		<dc:creator>navneet</dc:creator>
		<pubDate>Mon, 22 Feb 2010 06:38:01 +0000</pubDate>
		<guid isPermaLink="false">http://davidlaing.com/?p=142#comment-7</guid>
		<description>sorry for previous post it was not contain example which i put in &lt; &gt;</description>
		<content:encoded><![CDATA[<p>sorry for previous post it was not contain example which i put in &lt; &gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: navneet</title>
		<link>http://davidlaing.com/2008/12/29/selenium-gotcha-seleniumgethtmlsource-returns-processed-html/#comment-6</link>
		<dc:creator>navneet</dc:creator>
		<pubDate>Fri, 19 Feb 2010 10:10:11 +0000</pubDate>
		<guid isPermaLink="false">http://davidlaing.com/?p=142#comment-6</guid>
		<description>Hi David,
Thanks for this post.
I have one issue with text which i am checking through selenium.GetHtmlSource(); 
Application scenario:
-We are doing automation testing for our sites.
-When we submit page after that on new page we are checking for pixel entries.
like this &quot; or  tags
-so i want to detect that using selenium.GetHtmlSource();

Firefox 3.5.7 and IE 7
1)	Using view source mannualy (right click --&gt; view source)
	Orignal on Firefox :
	Orignal on IE      :

	After selenium.GetHtmlSource();
	In Firefox	:
	IN IE		:


	Upper Lower case  and double quote is fine to handle.
	But how to handle attribute sequence on .

Thanks,
Navneet</description>
		<content:encoded><![CDATA[<p>Hi David,<br />
Thanks for this post.<br />
I have one issue with text which i am checking through selenium.GetHtmlSource();<br />
Application scenario:<br />
-We are doing automation testing for our sites.<br />
-When we submit page after that on new page we are checking for pixel entries.<br />
like this &#8221; or  tags<br />
-so i want to detect that using selenium.GetHtmlSource();</p>
<p>Firefox 3.5.7 and IE 7<br />
1)	Using view source mannualy (right click &#8211;&gt; view source)<br />
	Orignal on Firefox :<br />
	Orignal on IE      :</p>
<p>	After selenium.GetHtmlSource();<br />
	In Firefox	:<br />
	IN IE		:</p>
<p>	Upper Lower case  and double quote is fine to handle.<br />
	But how to handle attribute sequence on .</p>
<p>Thanks,<br />
Navneet</p>
]]></content:encoded>
	</item>
</channel>
</rss>

