
| Key: |
WTR-239
|
| Type: |
New Feature
|
| Status: |
Open
|
| Priority: |
Major
|
| Assignee: |
Unassigned
|
| Reporter: |
halfconscious
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
Watir
Created: 20/Aug/08 02:02 AM
Updated: 28/Oct/08 06:09 PM
|
|
| Component/s: |
FireWatir
|
| Affects Version/s: |
Future
|
| Fix Version/s: |
None
|
|
|
FireWatir requires support for XML in the long term. Related to this issue is the
requirement for an access method that will provide raw,unformatted page source regardless
of whether html/body tags are present in the page.
Firefox.html() is only useful when html / body tags are
present.
In the case where a generic xml page is encountered with no
html/body tags Firefox.html() returns
"<html>TypeError: htmlelem is undefined</html>"
Access to raw page data will allow users to find workarounds with
their own XML parsers, pending integrated XML support in FireWatir. It will
also allow FireWatir to access non HTML pages.
The author of this ticket is not aware if this is a restriction of the jssh console. I intend to investigate this in due course. Unfortunately I am new to ruby, and have only come to it in the last few days, via firewatir, so there will be some inertia to overcome ;0) .. although initial impressions are favourable .. python would have been easier for me that's all.
|
|
Description
|
FireWatir requires support for XML in the long term. Related to this issue is the
requirement for an access method that will provide raw,unformatted page source regardless
of whether html/body tags are present in the page.
Firefox.html() is only useful when html / body tags are
present.
In the case where a generic xml page is encountered with no
html/body tags Firefox.html() returns
"<html>TypeError: htmlelem is undefined</html>"
Access to raw page data will allow users to find workarounds with
their own XML parsers, pending integrated XML support in FireWatir. It will
also allow FireWatir to access non HTML pages.
The author of this ticket is not aware if this is a restriction of the jssh console. I intend to investigate this in due course. Unfortunately I am new to ruby, and have only come to it in the last few days, via firewatir, so there will be some inertia to overcome ;0) .. although initial impressions are favourable .. python would have been easier for me that's all.
|
Show » |
|
with the following
browser.loadURI("file:///home/hc/tmp/TEST.XML")
doc = browser.contentDocument
domDumpFull(doc)
Simply adding an access method to Firefox to retrieve these results would
provide new options for users to cope with xml and other non-html formats.
I am attempting to try this with a local version of FireWatir now