{"id":2636,"date":"2012-10-04T20:53:17","date_gmt":"2012-10-05T02:53:17","guid":{"rendered":"http:\/\/bililite.com\/blog\/?p=2636"},"modified":"2012-10-05T09:29:53","modified_gmt":"2012-10-05T15:29:53","slug":"another-improvement-to-sendkeys","status":"publish","type":"post","link":"https:\/\/bililite.com\/blog\/2012\/10\/04\/another-improvement-to-sendkeys\/","title":{"rendered":"Another improvement to <code>sendkeys<\/code>"},"content":{"rendered":"<p><a href=\"http:\/\/vizualize.me\/johnmclear#.UG5I0JjA-f4\">John McLear<\/a> wanted to use <a href=\"\/blog\/2011\/01\/23\/improved-sendkeys\/\" title=\"Improved sendkeys\"><code>sendkeys<\/code><\/a> to help automate tests on the wicked cool <a href=\"http:\/\/beta.etherpad.org\/\">Etherpad<\/a> (a browser-based collaborative editor) but noted that it <a href=\"http:\/\/bililite.com\/blog\/2011\/01\/23\/improved-sendkeys\/#comment-28551\">wouldn't quite work right<\/a>. He did the debugging and it turns out that Etherpad uses a <code>content-editable<\/code> <code class=\"language-html\" >&lt;iframe&gt;<\/code> and <code>sendkeys<\/code> would only use the parent document. He and colleagues <a href=\"https:\/\/github.com\/Pita\/etherpad-lite\/commit\/07182bb7166d62aa3013454039f7a0bb0c41512c\">implemented the necessary changes in bililiteRange<\/a> and now it works with <code class=\"language-html\" >&lt;iframe&gt;<\/code>s.<\/p>\r\n<p><a href=\"\/inc\/bililiteRange.js\">bililiteRange<\/a> is now at version 1.2.<\/p>\r\n<p>Thanks, John!<\/p> ","protected":false},"excerpt":{"rendered":"John McLear wanted to use sendkeys to help automate tests on the wicked cool Etherpad (a browser-based collaborative editor) but noted that it wouldn't quite work right. He did the debugging and it turns out that Etherpad uses a content-editable &lt;iframe&gt; and sendkeys would only use the parent document. He and colleagues implemented the necessary [&hellip;]","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"_links":{"self":[{"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/posts\/2636"}],"collection":[{"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/comments?post=2636"}],"version-history":[{"count":3,"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/posts\/2636\/revisions"}],"predecessor-version":[{"id":2642,"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/posts\/2636\/revisions\/2642"}],"wp:attachment":[{"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/media?parent=2636"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/categories?post=2636"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/tags?post=2636"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}