@@ -0,0 +1,880 @@
+package com.paulhammant.ngwebdriver;%0A%0Aimport org.openqa.selenium.JavascriptExecutor;%0Aimport org.openqa.selenium.SearchContext;%0A%0A%0Apublic class ByAngularPartialButtonText extends ByAngular.BaseBy %7B%0A%0A    public ByAngularPartialButtonText(String partialButtonText) %7B%0A        super();%0A        this.searchText = partialButtonText;%0A    %7D%0A%0A    private String searchText;%0A%0A    protected Object getObject(SearchContext context, JavascriptExecutor javascriptExecutor) %7B%0A        return javascriptExecutor.executeScript(%0A                %22var using = arguments%5B0%5D %7C%7C document;%5Cn%22 +%0A                        %22var searchText = '%22 + searchText + %22';%5Cn%22 +%0A                        %22%5Cn%22 +%0A                        ByAngular.functions.get(%22findByPartialButtonText%22)%0A                , context);%0A    %7D%0A%0A    @Override%0A    public String toString() %7B%0A        return %22searchText(%22 + searchText + ')';%0A    %7D%0A%7D%0A

Create ByAngularPartialButtonText