blob: 251aa8c167141e82bdf883644b83b4134e6433aa [file] [log] [blame]
part of webdriver;
class Navigation extends _WebDriverBase {
Navigation._(driver) : super(driver, '');
/// Navigate forwards in the browser history, if possible.
Future forward() async {
await _post('forward');
}
/// Navigate backwards in the browser history, if possible.
Future back() async {
await _post('back');
}
/// Refresh the current page.
Future refresh() async {
await _post('refresh');
}
}