For Spark driver the process is the same. Choose the driver from the Executor page and view the thread dump.
A thread dump is the footprints of the JVM they are very useful in debugging issues where the JVM process is stuck or making extremely slow progress.
Thread dump collection is considered as an advanced troubleshooting technquie.