File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/main/java/io/appium/java_client Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1717package io .appium .java_client ;
1818
1919import com .google .common .collect .ImmutableMap ;
20+ import org .openqa .selenium .UnsupportedCommandException ;
2021
2122import java .nio .charset .StandardCharsets ;
2223import java .util .AbstractMap ;
@@ -49,7 +50,7 @@ default byte[] pullFile(String remotePath) {
4950 ImmutableMap .of ("remotePath" , remotePath )
5051 )
5152 );
52- } catch (UnsupportedOperationException e ) {
53+ } catch (UnsupportedCommandException e ) {
5354 // TODO: Remove the fallback
5455 base64String = checkNotNull (
5556 CommandExecutionHelper .execute (markExtensionAbsence (extName ),
@@ -81,7 +82,7 @@ default byte[] pullFolder(String remotePath) {
8182 ImmutableMap .of ("remotePath" , remotePath )
8283 )
8384 );
84- } catch (UnsupportedOperationException e ) {
85+ } catch (UnsupportedCommandException e ) {
8586 // TODO: Remove the fallback
8687 base64String = checkNotNull (
8788 CommandExecutionHelper .execute (markExtensionAbsence (extName ),
You can’t perform that action at this time.
0 commit comments