{"id":34,"date":"2011-07-06T11:04:05","date_gmt":"2011-07-06T10:04:05","guid":{"rendered":"http:\/\/blogs.kent.ac.uk\/webdev\/?p=34"},"modified":"2011-07-12T09:19:54","modified_gmt":"2011-07-12T08:19:54","slug":"behatsahi-and-firefox-5-on-mac-os-x","status":"publish","type":"post","link":"https:\/\/blogs.kent.ac.uk\/webdev\/2011\/07\/06\/behatsahi-and-firefox-5-on-mac-os-x\/","title":{"rendered":"Behat\/Sahi and Firefox 5 on Mac OS X"},"content":{"rendered":"<p>I had problems getting Sahi to work properly with Firefox 5 when using it with Behat to perform in-browser testing on Mac OS X.<\/p>\n<p>Moving the Firefox 5 .app to a subfolder in the \/Applications directory, and installing Firefox 3 at the root level of \/Applications still led to Sahi firing up Firefox 5.<\/p>\n<p>If you have this problem, the solution is to edit the SAHI_ROOT\/userdata\/config\/browser_types.xml file, and put the FULL path to the browser in thedirective &#8211; eg:<\/p>\n<p>open -n -a \/Applications\/Firefox3\/Firefox.app(I have moved my Firefox 3 to a subfolder, and returned 5 to the root of Applications).<\/p>\n<p>This works beautifully.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had problems getting Sahi to work properly with Firefox 5 when using it with Behat to perform in-browser testing on Mac OS X. Moving &hellip; <a href=\"https:\/\/blogs.kent.ac.uk\/webdev\/2011\/07\/06\/behatsahi-and-firefox-5-on-mac-os-x\/\">Read&nbsp;more<\/a><\/p>\n","protected":false},"author":61,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[8960,8953,514,8955,8957,8956,8958,8954],"_links":{"self":[{"href":"https:\/\/blogs.kent.ac.uk\/webdev\/wp-json\/wp\/v2\/posts\/34"}],"collection":[{"href":"https:\/\/blogs.kent.ac.uk\/webdev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.kent.ac.uk\/webdev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.kent.ac.uk\/webdev\/wp-json\/wp\/v2\/users\/61"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.kent.ac.uk\/webdev\/wp-json\/wp\/v2\/comments?post=34"}],"version-history":[{"count":4,"href":"https:\/\/blogs.kent.ac.uk\/webdev\/wp-json\/wp\/v2\/posts\/34\/revisions"}],"predecessor-version":[{"id":48,"href":"https:\/\/blogs.kent.ac.uk\/webdev\/wp-json\/wp\/v2\/posts\/34\/revisions\/48"}],"wp:attachment":[{"href":"https:\/\/blogs.kent.ac.uk\/webdev\/wp-json\/wp\/v2\/media?parent=34"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.kent.ac.uk\/webdev\/wp-json\/wp\/v2\/categories?post=34"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.kent.ac.uk\/webdev\/wp-json\/wp\/v2\/tags?post=34"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}