I use Selenium for the unit test of my Perl cgi script and everything works fine except for one special test case when my cgi script returns XML content to a web browser instead of returning HTML content.
I am new to Selenium and just pasted a script in my sample to start, but I cannot find the Selenium command in any documentation that recognizes that my XML response was returned. Selenium commands seem to suggest that the HTML page always returns.
source share