{"id":2019,"date":"2010-10-28T13:11:00","date_gmt":"2010-10-28T13:11:00","guid":{"rendered":"http:\/\/www.b.shuttle.de\/hayek\/Hayek\/Jochen\/wp\/blog-en\/2010\/10\/28\/selenium-strftime-sprintf\/"},"modified":"2010-10-28T13:11:00","modified_gmt":"2010-10-28T13:11:00","slug":"selenium-strftime-sprintf","status":"publish","type":"post","link":"https:\/\/wp.jochen.hayek.name\/blog-en\/2010\/10\/28\/selenium-strftime-sprintf\/","title":{"rendered":"Selenium: strftime, sprintf"},"content":{"rendered":"<p>\t\t\t\tI would like to see a <span>strftime<\/span> or an <span>sprintf<\/span> in Selenium.<\/p>\n<p>Javascript has a <span>printf<\/span>, but only for files, not for strings.<br \/>\n(Maybe there is a way to regards strings as files, but my Javascript competence is not good enough for that.)<\/p>\n<p>I found Javascript code, that implements <span>sprintf<\/span>.<\/p>\n<p>(I only introduced &#8220;Selenium&#8221; in the title, because the Tweet created from a title w\/o it looks stupid.)\t\t\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I would like to see a strftime or an sprintf in Selenium. Javascript has a printf, but only for files, not for strings. (Maybe there is a way to regards strings as files, but my Javascript competence is not good enough for that.) I found Javascript code, that implements sprintf. (I only introduced &#8220;Selenium&#8221; in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_share_on_mastodon":"0"},"categories":[666],"tags":[],"class_list":["post-2019","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"share_on_mastodon":{"url":"","error":""},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paO0kP-wz","jetpack_likes_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/2019","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/comments?post=2019"}],"version-history":[{"count":0,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/2019\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/media?parent=2019"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/categories?post=2019"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/tags?post=2019"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}