|
IWebDriver | driver = null |
|
EventFiringWebDriver | eventDriver = null |
|
|
IWebDriver | WebDriver [get] |
| A refrence to the Selenium WebDriver used; Selenium.WebDriver required More...
|
|
EventFiringWebDriver | EventDriver [get] |
| An event WebDriver from selenium; Selenium.Support package required More...
|
|
|
MsgRecievedEventHandler | OnMsgRecieved |
|
◆ AutoSave()
virtual void WebWhatsappAPI.BaseClass.AutoSave |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ Base64ToImage()
Image WebWhatsappAPI.BaseClass.Base64ToImage |
( |
string |
base64String | ) |
|
|
inlineprotected |
◆ GetLastestText()
string WebWhatsappAPI.BaseClass.GetLastestText |
( |
out string |
Pname | ) |
|
|
inline |
Gets the latest test
- Parameters
-
Pname | [Optional output] the person that send the message |
- Returns
◆ GetQRImage()
Image WebWhatsappAPI.BaseClass.GetQRImage |
( |
| ) |
|
|
inline |
Gets an C# image of the QR on the homepage
- Returns
- QR image; returns null if not available
◆ GetQRImageRAW()
string WebWhatsappAPI.BaseClass.GetQRImageRAW |
( |
| ) |
|
|
inline |
Gets raw QR string
- Returns
- sting(base64) of the image; returns null if not available
◆ IsPhoneConnected()
bool WebWhatsappAPI.BaseClass.IsPhoneConnected |
( |
| ) |
|
|
inline |
Check's if we get the notification "PhoneNotConnected"
- Returns
- bool; true if connected
◆ MessageScanner()
async Task WebWhatsappAPI.BaseClass.MessageScanner |
( |
| ) |
|
|
inline |
Checks for messages which enables OnMsgRecieved event
- Returns
- Nothing
◆ OnLoginPage()
bool WebWhatsappAPI.BaseClass.OnLoginPage |
( |
| ) |
|
|
inline |
Returns if the Login page and QR has loaded
- Returns
◆ Save()
virtual void WebWhatsappAPI.BaseClass.Save |
( |
string |
FileName | ) |
|
|
inlinevirtual |
Saves settings and more to file
- Parameters
-
FileName | Path/Filename to make the file (e.g. save1.bin) |
◆ SendMessage()
void WebWhatsappAPI.BaseClass.SendMessage |
( |
string |
message, |
|
|
string |
person = null |
|
) |
| |
|
inline |
Send message to person
- Parameters
-
message | string to send |
person | person to send to (if null send to active) |
◆ StartDriver() [1/3]
virtual void WebWhatsappAPI.BaseClass.StartDriver |
( |
IWebDriver |
driver, |
|
|
string |
savefile |
|
) |
| |
|
inlinevirtual |
Starts selenium driver, while loading a save file
- Parameters
-
driver | The driver |
savefile | Path to savefile |
◆ StartDriver() [2/3]
virtual void WebWhatsappAPI.BaseClass.StartDriver |
( |
| ) |
|
|
inlinevirtual |
◆ StartDriver() [3/3]
virtual void WebWhatsappAPI.BaseClass.StartDriver |
( |
IWebDriver |
driver | ) |
|
|
inlinevirtual |
Starts selenium driver
- Parameters
-
driver | The selenium driver |
◆ settings
◆ EventDriver
EventFiringWebDriver WebWhatsappAPI.BaseClass.EventDriver |
|
get |
An event WebDriver from selenium; Selenium.Support package required
◆ WebDriver
IWebDriver WebWhatsappAPI.BaseClass.WebDriver |
|
get |
A refrence to the Selenium WebDriver used; Selenium.WebDriver required
The documentation for this class was generated from the following file:
- WebWhatsappAPI/BaseClass.cs