UtilSeleniumYandexMailRegister Method

Automate the specified web-browser to register a new mail account at 'https://yandex.com/'.

Note that this function use random text (gathered from UtilStringWordLists class properties) to fill the registration form.

Definition

Namespace: DevCase.ThirdParty.Selenium
Assembly: DevCase.net48.ThirdParty.Selenium (in DevCase.net48.ThirdParty.Selenium.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static MailAccount YandexMailRegister(
	IWebDriver drv,
	string nineKwCaptchaApiKey
)

Parameters

drv  IWebDriver
An IWebDriver that represents the web browser to automate.
nineKwCaptchaApiKey  String
Your API key of http://9kw.eu/ service, required to automate the captcha image solvention.

This function internally create an instance of NineKwCaptchaHelper class with the provided API key.

Return Value

MailAccount
A MailAccount object that represents the new registered mail account.

Returns if the function failed to register the new mail account.

Remarks

Note: Some functionalities of this assembly may require to install one or all of the listed NuGet packages:

Selenium.Support by Selenium Committers

Selenium.WebDriver by Selenium Committers

Example

This is a code example to automate Firefox browser.
C#
No code example is currently available or this language may not be supported.

See Also