Class UrlMatchesExpectation

  • All Implemented Interfaces:
    com.google.common.base.Function<org.openqa.selenium.WebDriver,​Boolean>, Function<org.openqa.selenium.WebDriver,​Boolean>, org.openqa.selenium.support.ui.ExpectedCondition<Boolean>

    public class UrlMatchesExpectation
    extends Object
    implements org.openqa.selenium.support.ui.ExpectedCondition<Boolean>
    ExpectedCondition for url matching.
    Author:
    Daniel Keiss <daniel.keiss@telekom.de>

    Copyright (c) 2020 Daniel Keiss, Deutsche Telekom IT GmbH This file is distributed under the conditions of the Apache License, Version 2.0. For details see the file license on the toplevel.

    • Constructor Detail

      • UrlMatchesExpectation

        public UrlMatchesExpectation​(String urlToMatch,
                                     String detail)
    • Method Detail

      • apply

        public Boolean apply​(org.openqa.selenium.WebDriver driver)
        Specified by:
        apply in interface com.google.common.base.Function<org.openqa.selenium.WebDriver,​Boolean>
        Specified by:
        apply in interface Function<org.openqa.selenium.WebDriver,​Boolean>