-Поиск по дневнику

Поиск сообщений в rss_planet_mozilla

 -Подписка по e-mail

 

 -Постоянные читатели

 -Статистика

Статистика LiveInternet.ru: показано количество хитов и посетителей
Создан: 19.06.2007
Записей:
Комментариев:
Написано: 7


Andreas Tolfsen: geckodriver 0.11.1 released

Понедельник, 10 Октября 2016 г. 17:38 + в цитатник

Earlier today we released geckodriver version 0.11.1. geckodriver is an HTTP proxy for using W3C WebDriver-compatible clients to interact with Gecko-based browsers.

The program provides the HTTP API described by the WebDriver protocol to communicate with Gecko browsers, such as Firefox. It translates calls into the Marionette automation protocol by acting as a proxy between the local- and remote ends.

Some highlighted changes include:

  • Commands for setting- and getting the window position
  • Extension commands for finding an element’s anonymous children
  • A moz:firefoxOptions dictionary, akin to chromeOptions, that lets you configure binary path, arguments, preferences, and log options
  • Better profile support for officially branded Firefox builds

You should consult the full changelog for the complete list of notable changes.

You can fetch the latest builds which for the first time include Linux- and Windows 32-bit.

One non-backwards incompatible change to note is that the firefox_binary firefox_args, and firefox_profile capabilities have all been removed in favour of the moz:firefoxOptions dictionary. Please consult the documentation on how to use it.

Sample usage:

{
	"moz:firefoxOptions": {
		// select a custom firefox installation
		// and pass some arguments to it
		"binary": "/usr/local/firefox/firefox-bin",
		"args": ["--foo", "--bar"],

		// profile directory as a Base64 encoded string
		"profile": "…",

		// dictionary of preferences to set
		"prefs": {
			{"privacy.trackingprotection.enabled": true},
			{"privacy.donottrackheader.enabled", true}
		},

		// increase logging verbosity
		"log": {
			"level": "trace"
		}
	}
}

https://sny.no/2016/10/geckodriver-0.11.1


 

Добавить комментарий:
Текст комментария: смайлики

Проверка орфографии: (найти ошибки)

Прикрепить картинку:

 Переводить URL в ссылку
 Подписаться на комментарии
 Подписать картинку