{"action":"created","issue":{"url":"https://api.github.com/repos/MachinePublishers/jBrowserDriver/issues/279","repository_url":"https://api.github.com/repos/MachinePublishers/jBrowserDriver","labels_url":"https://api.github.com/repos/MachinePublishers/jBrowserDriver/issues/279/labels{/name}","comments_url":"https://api.github.com/repos/MachinePublishers/jBrowserDriver/issues/279/comments","events_url":"https://api.github.com/repos/MachinePublishers/jBrowserDriver/issues/279/events","html_url":"https://github.com/MachinePublishers/jBrowserDriver/issues/279","id":238371004,"number":279,"title":"Attributes of SVG nodes are incorrectly coerced","user":{"login":"jackrusher","id":220188,"avatar_url":"https://avatars3.githubusercontent.com/u/220188?v=3","gravatar_id":"","url":"https://api.github.com/users/jackrusher","html_url":"https://github.com/jackrusher","followers_url":"https://api.github.com/users/jackrusher/followers","following_url":"https://api.github.com/users/jackrusher/following{/other_user}","gists_url":"https://api.github.com/users/jackrusher/gists{/gist_id}","starred_url":"https://api.github.com/users/jackrusher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackrusher/subscriptions","organizations_url":"https://api.github.com/users/jackrusher/orgs","repos_url":"https://api.github.com/users/jackrusher/repos","events_url":"https://api.github.com/users/jackrusher/events{/privacy}","received_events_url":"https://api.github.com/users/jackrusher/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-25T09:47:07Z","updated_at":"2017-06-25T15:41:35Z","closed_at":null,"body":"Hi! First, let me thank you for all your work on this project. 😀\r\n\r\nThere seems to be a bug in [this method](https://github.com/MachinePublishers/jBrowserDriver/blob/master/src/com/machinepublishers/jbrowserdriver/ElementServer.java#L406), where jBrowserDriver attempts to coerce the value of HTML attributes using `toString`. When the element is inside an SVG embedded in the DOM, this fails because SVG element attributes return an instance of `SVGAnimatedString`, which has a useless `toString` method.\r\n\r\nThese `SVGAnimatedString` objects expose two methods that would likely help: `getBaseVal` and `getAnimVal`, and it would be very helpful to those of us who deal with embedded SVGs if `getAttribute` would return the result of `getBaseVal` on attributes of SVG elements.\r\n\r\nThanks in advance.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/MachinePublishers/jBrowserDriver/issues/comments/310909969","html_url":"https://github.com/MachinePublishers/jBrowserDriver/issues/279#issuecomment-310909969","issue_url":"https://api.github.com/repos/MachinePublishers/jBrowserDriver/issues/279","id":310909969,"user":{"login":"hollingsworthd","id":5241490,"avatar_url":"https://avatars2.githubusercontent.com/u/5241490?v=3","gravatar_id":"","url":"https://api.github.com/users/hollingsworthd","html_url":"https://github.com/hollingsworthd","followers_url":"https://api.github.com/users/hollingsworthd/followers","following_url":"https://api.github.com/users/hollingsworthd/following{/other_user}","gists_url":"https://api.github.com/users/hollingsworthd/gists{/gist_id}","starred_url":"https://api.github.com/users/hollingsworthd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hollingsworthd/subscriptions","organizations_url":"https://api.github.com/users/hollingsworthd/orgs","repos_url":"https://api.github.com/users/hollingsworthd/repos","events_url":"https://api.github.com/users/hollingsworthd/events{/privacy}","received_events_url":"https://api.github.com/users/hollingsworthd/received_events","type":"User","site_admin":false},"created_at":"2017-06-25T15:41:35Z","updated_at":"2017-06-25T15:41:35Z","body":"Interesting. Thanks for the details here!\r\n\r\nAlso in case the community is wondering, this project is still maintained but the project is more or less stable (despite many bugs which is par for the course on web driver projects given the complexity of web browsers). The velocity of commits that I do here will vary depending on my free time but I'll still actively maintain the project."}}
{"actor":{"display_login":"hollingsworthd"}}