When using the Chrome webdriver with inline styles that have a child selector (>
),
calling browser.page_source
improperly encodes the child selector to >
.
This works properly in Firefox and Safari, but not Chrome.
This example was served with a SimpleHTTPServer in Python (python -m SimpleHTTPServer
). I even went as far
as to try and serve these files with UTF-8 encoding: