Skip to content

This script is a template for testing Au3WebDriver cases

License

Notifications You must be signed in to change notification settings

mlipok/Au3WebDriver-testing

Repository files navigation

Au3WebDriver-testing

This script is a template for testing Au3WebDriver cases. The main idea is to include as many possible settings (capabilities) for a given browser. This is to allow you to easily adjust the required settings to a given test case.

How it is different than wd_demo.au3 ?

  • has no gui, thus you can easily start coding your own script, as the structure wd_testing_template.au3 is much simpler
  • all configurations try to take advantage of as many capabilities as we already know, based on the principle that they are easier to remove than to add
  • code is ready to use just you need to change example to your own stuff and you can start.

For example:

FireFox with this following snippet

_Main()

Func _Main()
	_WD_Initialization('FireFox', False, False)
	_Example()
	_WD_CleanUp()
EndFunc   ;==>_Main

Google Chrome with this following snippet

_Main()

Func _Main()
	_WD_Initialization('Chrome', False, False)
	_Example()
	_WD_CleanUp()
EndFunc   ;==>_Main

Microsoft Edge with this following snippet

_Main()

Func _Main()
	_WD_Initialization('MSEdge', False, False)
	_Example()
	_WD_CleanUp()
EndFunc   ;==>_Main

Opera with this following snippet

_Main()

Func _Main()
	_WD_Initialization('Opera', False, False)
	_Example()
	_WD_CleanUp()
EndFunc   ;==>_Main

Microsoft Edge (IE Mode) with this following snippet

_Main()

Func _Main()
	_WD_Initialization('MSEdgeIE', False, False)
	_Example()
	_WD_CleanUp()
EndFunc   ;==>_Main

Remarks

/docs was imported from https://github.com/Danp2/au3WebDriver/tree/master/docs

Thanks to @danp2 and @Sven-Seyfert

Links / helps / Docs ...

https://peter.sh/experiments/chromium-command-line-switches/

About

This script is a template for testing Au3WebDriver cases

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages