Issue 1:
Steps to Reproduce

run: flutter create --with-driver-test my_project

Notice that enableFlutterDriverExtension(); inside main.dart main method

Add TextField to your UI

Keyboard won't show when you click TextField

remove enableFlutterDriverExtension(); Keyboard show as expected.

Logs

[ +16 ms] [/home/polen/Flutter/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +29 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/master
[ ] [/home/polen/Flutter/flutter/] git rev-parse --abbrev-ref HEAD
[ +5 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] master
[ ] [/home/polen/Flutter/flutter/] git ls-remote --get-url origin
[ +8 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ ] [/home/polen/Flutter/flutter/] git log -n 1 --pretty=format:%H
[ +11 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[ ] 21c2e47f29ec8aaf14f8b137de941bb5aa89d6de
[ ] [/home/polen/Flutter/flutter/] git log -n 1 --pretty=format:%ar
[ +9 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar
[ ] 31 hours ago
[ ] [/home/polen/Flutter/flutter/] git describe --match v*.*.* --first-parent --long --tags
[ +53 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[ ] v0.4.2-16-g21c2e47
[ +60 ms] "flutter run" took 10ms.
Error: No pubspec.yaml file found.
This command should be run from the root of your Flutter project.
Do not run this command from the root of your git clone of Flutter.

#0 FlutterCommand.validateCommand (package:flutter_tools/src/runner/flutter_command.dart:427)
<asynchronous suspension>
#1 RunCommand.validateCommand (package:flutter_tools/src/commands/run.dart:251)
<asynchronous suspension>
#2 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:323)
<asynchronous suspension>
#3 FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:279)
<asynchronous suspension>
#4 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142)
<asynchronous suspension>
#5 _rootRun (dart:async/zone.dart:1126)
#6 _CustomZone.run (dart:async/zone.dart:1023)
#7 runZoned (dart:async/zone.dart:1501)
#8 AppContext.run (package:flutter_tools/src/base/context.dart:141)
<asynchronous suspension>
#9 FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:270)
#10 CommandRunner.runCommand (package:args/command_runner.dart:194)
<asynchronous suspension>
#11 FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:309)
<asynchronous suspension>
#12 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142)
<asynchronous suspension>
#13 _rootRun (dart:async/zone.dart:1126)
#14 _CustomZone.run (dart:async/zone.dart:1023)
#15 runZoned (dart:async/zone.dart:1501)
#16 AppContext.run (package:flutter_tools/src/base/context.dart:141)
<asynchronous suspension>
#17 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:265)
<asynchronous suspension>
#18 CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:109)
#19 new Future.sync (dart:async/future.dart:222)
#20 CommandRunner.run (package:args/command_runner.dart:109)
#21 FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:174)
#22 run.<anonymous closure> (package:flutter_tools/runner.dart:54)
<asynchronous suspension>
#23 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142)
<asynchronous suspension>
#24 _rootRun (dart:async/zone.dart:1126)
#25 _CustomZone.run (dart:async/zone.dart:1023)
#26 runZoned (dart:async/zone.dart:1501)
#27 AppContext.run (package:flutter_tools/src/base/context.dart:141)
<asynchronous suspension>
#28 runInContext (package:flutter_tools/src/context_runner.dart:42)
<asynchronous suspension>
#29 run (package:flutter_tools/runner.dart:49)
#30 main (package:flutter_tools/executable.dart:48)
<asynchronous suspension>
#31 main (file:///home/polen/Flutter/flutter/packages/flutter_tools/bin/flutter_tools.dart:8)
#32 _startIsolate.<anonymous closure> (dart:isolate-patch/dart:isolate/isolate_patch.dart:277)
#33 _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165)

Analyzing /home/polen/workspaces/flutter/test_project...
No issues found!
Ran in 6.2s

No issues found!
Ran in 6.2s
[polen@polen-dmi test_project]$ flutter doctor -v
[✓] Flutter (Channel master, v0.4.3-pre.16, on Linux, locale en_GB.UTF-8)
• Flutter version 0.4.3-pre.16 at /home/polen/Flutter/flutter
• Framework revision 21c2e47f29 (31 hours ago), 2018-05-08 23:23:34 -0700
• Engine revision 11d6da3cd9
• Dart version 2.0.0-dev.53.0.flutter-e6d7d67f4b

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /home/polen/Android/Sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• ANDROID_HOME = /home/polen/Android/Sdk
• Java binary at: /home/polen/Android/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
• All Android licenses accepted.

[✓] Android Studio (version 3.1)
• Android Studio at /home/polen/Android/android-studio
• Flutter plugin version 24.2.1
• Dart plugin version 173.4700
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[✓] VS Code (version 1.23.0)
• VS Code at /usr/share/code
• Dart Code extension version 2.12.1

[✓] Connected devices (1 available)
• Android SDK built for x86 64 • emulator-5554 • android-x64 • Android 8.0.0 (API 26) (emulator)

• No issues found!

Issue 2:
Steps to Reproduce

Open flutter_gallery project

Put enableFlutterDriverExtension(); in lib/main.dart

Run app, try to use android keyboard in any input field, it is not showing.

import 'package:flutter/widgets.dart';
import 'package:flutter_driver/driver_extension.dart';
import 'gallery/app.dart';

void main() {
enableFlutterDriverExtension();
runApp(const GalleryApp());
}

Problem research

It seems like intended but obsolete behaviour artifacts and lack of documentation.

>flutter drive --help

Runs Flutter Driver tests for the current project.
...
-t, --target=<path> The main entry-point file of the application, as run on the device.
If the --target option is omitted, but a file name is provided on
the command line, then that is used instead.
(defaults to "lib/main.dart")
...

(defaults to "lib/main.dart") seems obsolete due to https://flutter.io/testing/ specifically says that you should create new entry point for "Creating instrumented Flutter apps", flutter_gallery follow this document correctly at least for last 2 years.

#5800 Partly about this confusion, seems related.

If this is intended behaviour then https://docs.flutter.io/flutter/flutter_driver_extension/enableFlutterDriverExtension.html

should say about it.

Flutter Doctor

[√] Flutter (Channel master, v0.2.1-pre.61, on Microsoft Windows [Version 10.0.16299.251], locale ru-RU)
• Flutter version 0.2.1-pre.61 at c:\flutter
• Framework revision 7865d319ba (2 hours ago), 2018-03-11 13:01:00 -0700
• Engine revision 1d0da77995
• Dart version 2.0.0-dev.33.0.flutter-b5b8080b2c

[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at C:\Users\Yfer\AppData\Local\Android\sdk
• Android NDK at C:\Users\Yfer\AppData\Local\Android\sdk\ndk-bundle
• Platform android-27, build-tools 27.0.3
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)
• All Android licenses accepted.

[√] Android Studio (version 3.0)
• Android Studio at C:\Program Files\Android\Android Studio
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)

[√] IntelliJ IDEA Ultimate Edition (version 2017.3)
• IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2017.3.4
• Flutter plugin version 22.2.2
• Dart plugin version 173.4548.30

[!] VS Code, 64-bit edition (version 1.20.1)
• VS Code at C:\Program Files\Microsoft VS Code
• Dart Code extension not installed; install from
https://marketplace.visualstudio.com/items?itemName=Dart-Code.dart-code

[√] Connected devices (1 available)
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.1.0 (API 27) (emulator)