2gis / Winium.Mobile

Winium.Mobile is Selenium Remote WebDriver implementation for automated testing of Windows StoreApps and Silverlight apps, tested on emulators (currently only Windows Phone/Mobile apps are supported).
Mozilla Public License 2.0
51 stars 29 forks source link

Fix PageSourceCommand failing to serialize nested classes #136

Closed NickAb closed 8 years ago

NickAb commented 8 years ago

Class name for nested class follows "{parent}+{nested}" pattern. The plus sign is invalid character for xml tag name. To prevent page source command from throwing we encode all xml tag names and add class_name attribute with original unencoded class name to each tag.

Fixes #135